참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
value
to a BigInt, assuming unit
decimal places. The unit
may the number of decimal
places or the name of a unit (e.g. "gwei"
for 9 decimal places).
Parameter | Type | Description |
---|---|---|
value | string | The value to convert. |
unit ? | string | Numeric | The unit to convert from. Default is 18 |
bigint
The converted value.