Odd floating point looking numbers in workouts


(Graham Berks) #1

Hi, find it easier to knock up my workouts in a text editor rather than using the GUI.

But have odd issues with the power and percentage of FTP.

When I put in 105% as 1.05 in the workout editor it appears as 104%.

If i change it in the workout editor to 105% it’s saved as 1.0545

95% of FTP is 0.94999999.

Looks like some use of double’s or floats etc in the software.

Anyway to correct this so 1.05 is 1.05 and not 1.0545 ? :slight_smile:

Thanks


(Gerrie Delport) #2

Did you get any feed back on why the numbers is a bit different?


(Graham Berks) #3

No, it’s a bit of a pain really. As I have to double check everything.

I tend to create workouts on the train with no internet connection - so means I need to remember to check later.


(Gerrie Delport) #4

It will be interesting to find out why the difference. 

 

I also like doing things in txt format.