注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。
value
into a decimal string, assuming unit
decimal places. The unit
may be the number of decimal
places or the name of a unit (e.g. "gwei"
for 9 decimal places).
Parameter | Type | Description |
---|---|---|
value | BigNumberish | The value to convert. |
unit ? | string | Numeric | The unit to convert to. Default is 18 |
string
The converted value.