- Preparing search index...
- The search index is not available
cardstack
Function convertAmountToPercentageDisplay
- convertAmountToPercentageDisplay(value: Value, decimals?: number, buffer?: number): string
-
Parameters
-
value: Value
-
decimals: number = 2
-
Optional
buffer: number
Returns string
Passes its arguments to
handleSignificantDecimals
and then tacks on % at the end of the returned valueSee
handleSignificantDecimals