round-precision

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > core | math functions >

round-precision

Result is the decimal value of the number rounded to the decimal places defined by "decimals".

fn-round-prec

fn-math3

In the mapping above, the result is 0.429. For the result to appear correctly in an XML file, make sure to map it to an element of xs:decimal type.


© 2019 Altova GmbH