decimal¶ In std/math. fn decimal(self: Int) : Decimal fn decimal(self: Float) : Decimal self as a Decimal: an Int exactly, and a Float by the shortest digits that read back as it: decimal(0.1f) is 0.1.