def float_text
import cswap-bend-cli@0.1.0.0/daemon/events.bend as Eventsimport Base
30# 6000 -> "60.0", 4250 -> "42.5", 8766 -> "87.66".
31def float_text(+c: U32) -> String:
32 U32.show((c / 100 : U32)) ++ "." ++ frac((c % 100 : U32))
import cswap-bend-cli@0.1.0.0/daemon/events.bend as Eventsimport Base
30# 6000 -> "60.0", 4250 -> "42.5", 8766 -> "87.66".
31def float_text(+c: U32) -> String:
32 U32.show((c / 100 : U32)) ++ "." ++ frac((c % 100 : U32))