round-precision Print this Topic Previous Page Up One Level Next page

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


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



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. For a demo, see the following mapping: <Documents>\Altova\MapForce2019\MapForceExamples\Tutorial\ReadProtocolBuffers.mfd. This mapping is discussed in more detail in Example: Read Data from Protocol Buffers.

© 2019 Altova GmbH