Adds two values
The other value to be added
the mutated BurstValue object
Clones/Copies the current BurstValue to a new object
new BurstValue instance
Divides by a numeric value (not BurstValue)
A numeric value to be divided by
the mutated BurstValue object
Checks for equality
The other value to be compared
true if equal, otherwise false
Gets BURST representation
value in BURST
Gets Planck representation
Leaky value getter
the underlying value in its big number representation (immutable)
Checks for greater value
The other value to be compared
true if greater, otherwise false
Checks for greater or equality value
The other value to be compared
true if greater or equal, otherwise false
Checks for lesser value
The other value to be compared
true if less, otherwise false
Checks for lesser or equality
The other value to be compared
true if less or equal, otherwise false
Multiplies with a numeric value (not BurstValue)
A numeric value to be multiplied with
the mutated BurstValue object
Sets value as BURST, i.e. overwrites current hold value
value in BURST
Sets value as Planck, i.e. overwrites current hold value
The planck value
Subtracts from value
The other value to be subtracted
the mutated BurstValue object
Gets a string representation in form Ƀ 100 for BURST or ƀ 10000000000 for Planck
The format
The converted string accordingly the param in burst or Planck
Creates a Burst Value object from BURST
The value in BURST
Creates a Burst Value object from Planck
The value in Planck
A Value Object to facilitate BURST and Planck conversions/calculations.
Note: This class uses a big number representation (ES5 compatible) under the hood, so number limits and numeric calculations are much more precise than JS number type