Status.pct: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/status.bend as Status Lines 37-38 of cswap-bend-cli@0.1.0.0/daemon/status.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/status.bend&start_line=37&end_line=38 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def pct(+c: U32) -> Json.Json: Json.JNum{U32.show((c / 100 : U32)) ++ "." ++ frac((c % 100 : U32))} Uses (7): 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/status.bend&name=frac https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json