Hi. I'm new here and new to C++. I'm writing a program which analyzes a race horses pace performance. The data I get is formatted thus: i.e.
second call time = 44.2 seconds. The number to the right of the decimal point is not in tenths of a second, but in fifths. The corrected number would read:
44.4 seconds. Is there any way for C++ to convert this number from fifths to tenths.
i.e. 42.4 = 42.8 (42 and 4/5 seconds = 42 point 8 seconds)
43.3 = 43.6
and so on...
I put this in the beginners forum as well.