DB48X-on-DM42
DB48X-on-DM42 copied to clipboard
Combining `FromHMS` and `ToHMS` gives unrounded result
trafficstars
Running 10.3033 FromHMS ToHMS gives the result 10.30.32.999629... instead of the expected 10.30.33.
Here is the original report
Problem is caused by undesired conversion to fraction. In that specific case, the generated fraction is not generated with sufficient precision.
The correct solution is to make sure that the default value for FractionIterations is big enough to give us the correct result.