Please enable JavaScript to view this site.

Altova MapForce 2021 Professional Edition

Returns the remainder of dividing value1 by value2.

mf-func-modulus

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.

 

Parameters

Argument

Description

value1

Mandatory parameter. Provides the first operand.

value2

Mandatory parameter. Provides the second operand.

 

Example

If the input values are 1.5 and 1, then the result of the modulus function is 0.5. The explanation is that 1.5 / 1 leaves a remainder of 0.5.

 

If the input values are 9 and 3, then the result is 0, since 9 / 3 leaves no remainder.

© 2015-2021 Altova GmbH