I need to divide a by b and I need the result to the a whole number.
e.g.
a=855
b=1.2
855/1.2=712.5
This does not result in a whole number.
'b' cannot change, I want to increase the value of 'a' until I get a whole number result.
Through just trial, I know that
(855+3)/1.2=715
So, 858/1.2=715 but what would be the formula to figure out that 858 was the next number up from 855 that when divided by 1.2 would result in a whole number?
Many thanks!
e.g.
a=855
b=1.2
855/1.2=712.5
This does not result in a whole number.
'b' cannot change, I want to increase the value of 'a' until I get a whole number result.
Through just trial, I know that
(855+3)/1.2=715
So, 858/1.2=715 but what would be the formula to figure out that 858 was the next number up from 855 that when divided by 1.2 would result in a whole number?
Many thanks!