Why can't use {double d=40; d%=4;} returns err. How to work around this, since I need use double?
Thx.
- setting library function parameters to default. Is this ok?
- Adding line every 12.00
- Holy Grail
'%' - remainder operator is to be applied to integer values only
So, change it to {int d=40, d%=4;}.
diostar:
Thx.
Er, just use MathMod()? d = MathMod(d, 4)
Thx.
jjc:
Er, just use MathMod()? d = MathMod(d, 4)
Er, just use MathMod()? d = MathMod(d, 4)
Thx!