- Preparing search index...
- The search index is not available
cardstack
Function convertAmountToBalanceDisplay
- convertAmountToBalanceDisplay(value: Value, asset: Asset, buffer?: number): string
-
Parameters
-
value: Value
-
-
Optional buffer: number
Returns string
Passes
value,asset.decimals, andbuffertohandleSignificantDecimalsand then tacks onasset.symbolat the end of the returned value