Please enable JavaScript to view this site.

Altova MapForce 2020 Enterprise Edition

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

© 2020 Altova GmbH