Hi Guys,
Requirement.
Need to find the lowest multiple of a number in x++
Example -
number - 85
multiple - 10
output - 80 (but not as 90)
I need the multiple of a number less than 85
Please help me to solve this!!
Hi Guys,
Requirement.
Need to find the lowest multiple of a number in x++
Example -
number - 85
multiple - 10
output - 80 (but not as 90)
I need the multiple of a number less than 85
Please help me to solve this!!
x - (x mod y)
There are surely many ways how to do it. For example, I would use div operator: (x div 10) * 10.
André Arnaud de Cal...
292,884
Super User 2025 Season 1
Martin Dráb
231,758
Most Valuable Professional
nmaenpaa
101,156
Moderator