def fmt.small

bend-toon-codec@0.1.0.0 · src/num.bend:204

import bend-toon-codec@0.1.0.0/src/num.bend as Num
import Base

204# 0.000ddd for a point position of 0 down to -5.
205def fmt.small(+bp: U32, +d: String) -> String:
206  "0." ++ zeros((bias() - bp : U32)) ++ d

Uses (6)

Used by (1)