mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
d8599e5f67
Tries to return the approxmost posible string of a Millisatoshi amount using various unit representations. The function will round to an effective number of digits. Default: 3. ``` >>> Millisatoshi("100000sat").to_approx_str() '0.001btc' >>> Millisatoshi("100msat").to_approx_str() '0.1sat' >>> Millisatoshi("10000000sat").to_approx_str() '0.1btc' ``` |
||
---|---|---|
.. | ||
init | ||
plugins | ||
pylightning | ||
Dockerfile.builder | ||
Dockerfile.builder.fedora | ||
Dockerfile.builder.i386 | ||
lightning-cli.bash-completion | ||
linuxarm32v7.Dockerfile | ||
short_channel_id-to-txid.sh | ||
startup_regtest.sh |