Roncayenne
Programmer
Hopefully this is easy and it's my knowledge that is hard!!
I am comparing two double numbers:
if ( h_chrg_amt) == (h_amt_to_pay)
But I am pretty sure the decimal point is the killer..
Some of the numbers are equal up to the 2 decimal position but not after that so it says they are not equal.
If there any way prior to the IF stmt to size the numbers down to only 2 decimal positions for the comparison.
Thanks for the help in advance!
Ron
I am comparing two double numbers:
if ( h_chrg_amt) == (h_amt_to_pay)
But I am pretty sure the decimal point is the killer..
Some of the numbers are equal up to the 2 decimal position but not after that so it says they are not equal.
If there any way prior to the IF stmt to size the numbers down to only 2 decimal positions for the comparison.
Thanks for the help in advance!
Ron