Modulus math
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
In C#, do 5%3 to get the rest of the division 5/3. In OCL, you can do 5.IEEERemainder( 3 )
In C#, do 5%3 to get the rest of the division 5/3. In OCL, you can do 5.IEEERemainder( 3 )



Revision as of 22:20, 16 June 2024

Write the content here to display this box

In C#, do 5%3 to get the rest of the division 5/3. In OCL, you can do 5.IEEERemainder( 3 )

(Please note that modulus and remainder are not mathematically equivalent.

See also: https://rob.conery.io/2018/08/21/mod-and-remainder-are-not-the-same/)

See also: IEEERemainder documentation in .net

This page was edited 95 days ago on 06/17/2024. What links here