News for hackers. Stuff that matters.
Re:Figuring out round, floor and ceil with integer division by dec0dedab0de on Saturday November 26, 2022 @04:46AM (#33751348)
You can specify a rounding mode if you use decimals instead of floats
Re:Figuring out round, floor and ceil with integer division by masklinn on Saturday November 26, 2022 @05:41AM (#33751591)
Yeah but that's let useful if you're trying to round floats.
Re:Figuring out round, floor and ceil with integer division by masklinn on Saturday November 26, 2022 @07:49AM (#33752222)
less* obviously, not sure how I fat fingered that one.