Drip

Drip

Positive decimal integer string in Drip

Kind: global class

new Drip(value)

Param
Type

value

number | string | BigInt

Example

> new Drip(1.00)
   [String (Drip): '1']
> new Drip('0xab')
   [String (Drip): '171']

drip.toCFX() ⇒ string

Get CFX number string

Kind: instance method of Drip Example

drip.toGDrip() ⇒ string

Get GDrip number string

Kind: instance method of Drip Example

Drip.fromCFX(value) ⇒ Drip

Get Drip string from CFX

Kind: static method of Drip

Param
Type

value

string | number | BigInt

Example

Drip.fromGDrip(value) ⇒ Drip

Get Drip string from GDrip

Kind: static method of Drip

Param
Type

value

string | number | BigInt

Example

Last updated

Was this helpful?