Is there a way to find the remainder

0
Is there a function that gets the remainder of a mathematical expression?  ex 10 : 3 = 3 rest 1.  Is there a function for this?
asked
2 answers
0

Yes, you need the modulo operator.

m modulo n corresponds to: m = p + k*n, where p is the result of the operation m modulo n

https://docs.mendix.com/refguide/arithmetic-expressions#4-modulo

answered
0

https://docs.mendix.com/refguide/arithmetic-expressions

 

4.3 Example

If you use the following input:

23 mod 5

Java

Copy

the output is:

3
answered