how do I create a calculation that returns the remainder from an integer division?
10 divided by 3 -> Returns 1
Any help would be much appreciated.
As part of your calculation, you may need to import System.Math as well, and use the DivRem method. See http://msdn.microsoft.com/en-us/library/yda5c8dx.aspx#Y856 for details. I haven't actually tried it, but hopefully that may set you on the right track.
I'd have thought the easiest way was to use the MOD operator as this returns the remainder.
So in a calculation:
Remainder of 10 divided by 3
10 % 3
Thank you Julian.
That did the job!
Thats good. remember to flag as solution.