For integers 5/2 = 2; 5%2 = 1;
is there a similar function for double variables.
etc 5.2/2 = 2; 5.2%2 = 1.2?
Shuo
This is a discussion on arithmetic within the C++ Programming forums, part of the General Programming Boards category; For integers 5/2 = 2; 5%2 = 1; is there a similar function for double variables. etc 5.2/2 = 2; ...
For integers 5/2 = 2; 5%2 = 1;
is there a similar function for double variables.
etc 5.2/2 = 2; 5.2%2 = 1.2?
Shuo