harrythehamster wrote:
Thanks for the reply. Unfortunately there's still some confusion on my side. Biggest confusion comes from this: you say that value in A4 is 1:27.8, not 1:28 (2k pace in cell A4). However what I see in that cell is not 01:27.8 but 01:28 (cell format is time; mm:ss), and if change that time format to be number format then it shows that value as a friction of 24hours, as I wrote earlier (0,00100694444444444)
I think you have confused cell A3 by cell A4.
Cell A3 is the one which is intended to show 1:27. It contains 0.00100694444444444. If you multiply that by 24*60*60, you get 87. So everything is fine here.
Cell A4 is the problematic one. It was intended to show 1:28, but it contains 0.0010162037037037. If you multiply that by 24*60*60, you get 87.8.
harrythehamster wrote:92*1,125 is exactly 103,5 if you ask me.
To you and me, yes. To a computer using floating point variables, not always.
A floating point variable is almost always a little imprecise. There may exist an exact representation of 103.499999998 and another exact representation of 103.5000000003, but there may not necessarily exist an exact representation of 103.5. So what you see as 103.5 may be a little less or a little more.
Try this for an example:
In one cell type this (without the ""): "=101.5/86400".
The cell will show 0.00117476851851852. This value is 101.5 seconds converted to days.
Change the format of the cell to mm:ss.
The cell will show 1:42. So the 101.5 seconds has been rounded correctly up to 102 seconds.
Now change the contents of the cell to this: "=103.5/86400".
By the same logic as before, we would expect it to show 1:44, right?
But it doesn't. It shows 1:43.
Keine hexerei. Nur floating point numbers...