float¶ In std/math. fn float(self: Int) : Float fn float(self: Decimal) : Float self as a Float, the Float nearest it: float(1.10) is 1.1.