Re: [Gambas-user] rounding a half

2024-12-09 Thread T Lee Davidson
On 12/9/24 06:58, wig wrote: I would think that rounding a half would always react the same, either up or down; f = 1.015 Print "Round(" & f & ", -2) = " & Round(f, -2) Result: Round(1.015, -2) = 1.02 f = 1.055 Print "Round(" & f & ", -2) = " & Round(f, -2) Round(1.055, -2) = 1.05 Wha

[Gambas-user] rounding a half

2024-12-09 Thread wig
I would think that rounding a half would always react the same, either up or down; f = 1.015 Print "Round(" & f & ", -2) = " & Round(f, -2) Result: Round(1.015, -2) = 1.02 f = 1.055 Print "Round(" & f & ", -2) = " & Round(f, -2) Round(1.055, -2) = 1.05 What should I expect? I u