- 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
, andbuffer
tohandleSignificantDecimals
and then tacks onasset.symbol
at the end of the returned value