Numbers

Previous Next

USoft Blend  >  Expressions  >  XPath  >  Numbers

 

Number, in the generic sense of a floating-point number such as:

24.7

 

is one of the (4) primitive data types that an XPath expression can evaluate to. It is the only numeric data type that XPath has.

USoft Blend treats numbers in the same way as XPath and XSLT. If an XPath expression is expected to be a number but cannot be converted to a number, this yields the special NaN (Not-a-Number) value.

 

See also

Guide to expressions and data types

          Literal expressions

                 Dates

                 string literals

          Path expressions

          XML expressions

          XPath expressions

                 Node set expressions

                 Booleans

                 Strings

                 Numbers

                 Function calls

                 Variable references

                 Implicit XPath data type conversion

                 Evaluated expressions vs. literals

          SQL expressions