units
Constants
- Fixed point unit constants:
n
,u
,m
,k
,K
,G
,T
andP
. - Power of 2 unit constants:
Ki
,Mi
,Gi
,Ti
andPi
.
Functions
to_n(num: int) -> str
Int literal to string withn
suffixto_u(num: int) -> str
Int literal to string withu
suffixto_m(num: int) -> str
Int literal to string withm
suffixto_K(num: int) -> str
Int literal to string withK
suffixto_M(num: int) -> str
Int literal to string withM
suffixto_G(num: int) -> str
Int literal to string withG
suffixto_T(num: int) -> str
Int literal to string withT
suffixto_P(num: int) -> str
Int literal to string withP
suffixto_Ki(num: int) -> str
Int literal to string withKi
suffixto_Mi(num: int) -> str
Int literal to string withMi
suffixto_Gi(num: int) -> str
Int literal to string withGi
suffixto_Ti(num: int) -> str
Int literal to string withTi
suffixto_Pi(num: int) -> str
Int literal to string withPi
suffix