bridge/functions/fromBaseUnits.md
fromBaseUnits(
amount,decimals):string
Convert base units to a decimal string
Parameters
| Parameter | Type | Description |
|---|---|---|
amount | bigint | The amount in base units |
decimals | number | The number of decimal places |
Returns
string
The decimal string representation with the fraction's trailing zeros removed