Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:ref:numeric [2015/11/21 12:33]
documentation:ref:numeric [2015/11/21 12:33] (current)
Line 1: Line 1:
 +====== Numeric ======
 +----
 +====Description====
 +
 +  * ''​Numeric''​ gives the numerical value of expression.
 +
 +
 +====Examples====
 +
 +Evaluate numerically:​
 +<sxh groovy; gutter: false>
 +println Numeric >> '​1/​9'​.t
 +</​sxh>​
 +<sxh plain; gutter: false>
 +   > 0.1111111111111111
 +</​sxh>​
 +
 +<sxh groovy; gutter: false>
 +println Numeric >> '​a*Sin[1/​9]'​.t
 +</​sxh>​
 +<sxh plain; gutter: false>
 +   > 0.11088262850995298 * a
 +</​sxh>​
 +
 +====See also====
 +  * Related guides: [[documentation:​guide:​applying_and_manipulating_transformations]],​ [[documentation:​guide:​list_of_transformations]]
 +  * JavaDocs: [[http://​api.redberry.cc/​redberry/​1.1.9/​java-api/​cc/​redberry/​core/​transformations/​ToNumericTransformation.html| ToNumericTransformation]]
 +  * Source code: [[https://​bitbucket.org/​redberry/​redberry/​src/​tip/​core/​src/​main/​java/​cc/​redberry/​core/​transformations/​ToNumericTransformation.java|ToNumericTransformation.java]]