Sam Stone
closest(1.03)=1.05
closest(1.02)=1.00
closest(1.05)=1.05
altavir
round(d*20.0)/20.0
Gleb Minaev
a
b
a - a.IEEErem(b)
IEEErem
kotlin.math
(a + b/2).let { it - it.mod(b) }
A modern programming language that makes developers happier.