Recent content by Hugh McCutchen
-
H
Fortran Print correct value of Real number with gfortran?
Please verify what you believe to be the correct answer. 17424.0*2.42 = 42,166.08. The answer can have only two places after the decimal. Multiplying by 1.0E6 gives 42,166,080,000.00 which is the answer from PCalc. I think both your calculator and Python are giving you the wrong answer.- Hugh McCutchen
- Post #9
- Forum: Programming and Computer Science