Decimal
Functions
zero
one
from
Parameters
a
uint256
ratio
Parameters
a
uint256
b
uint256
add
Parameters
self
struct Decimal.D256
b
uint256
sub
Parameters
self
struct Decimal.D256
b
uint256
sub
Parameters
self
struct Decimal.D256
b
uint256
reason
string
mul
Parameters
self
struct Decimal.D256
b
uint256
div
Parameters
self
struct Decimal.D256
b
uint256
pow
Parameters
self
struct Decimal.D256
b
uint256
add
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
sub
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
sub
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
reason
string
mul
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
div
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
equals
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
greaterThan
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
lessThan
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
greaterThanOrEqualTo
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
lessThanOrEqualTo
Parameters
self
struct Decimal.D256
b
struct Decimal.D256
isZero
Parameters
self
struct Decimal.D256
asUint256
Parameters
self
struct Decimal.D256
getPartial
Parameters
target
uint256
numerator
uint256
denominator
uint256
compareTo
Parameters
a
struct Decimal.D256
b
struct Decimal.D256
Last updated