Starnge validation problem with float and doubleif you want to calculate precisely, string instead of double, but it's more complex :) good luck!
How to write a "if x is a int" type of statement?morando's answer is quite well, but your compiler shorld support C++ 11, another choice is using Boo...
Starnge validation problem with float and doubledecimal in computer is discrete, it can not be stored accurately.
return to startJust modify 'if(y)' to 'if(y == 'Y')'
This user does not accept Private Messages