modulus

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

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

modulus

Result is the remainder of dividing value1 by value2.

fn-modulus

In the mapping below, the numbers have been multiplied by 3 and passed on to value1 of the modulus function. Input values are now 3, 6, 9, and 12.

 

When applying/using modulus 8 as value2, the remainders are 3, 6, 1, and 4.

fn-math2


© 2019 Altova GmbH