Events.float_text: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/events.bend as Events Lines 30-32 of cswap-bend-cli@0.1.0.0/daemon/events.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&start_line=30&end_line=32 import Base # 6000 -> "60.0", 4250 -> "42.5", 8766 -> "87.66". def float_text(+c: U32) -> String: U32.show((c / 100 : U32)) ++ "." ++ frac((c % 100 : U32)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/events.bend&name=frac