PgMoney v0.4.20 PgMoney View Source
Contains the all the basic types and guards to work with the money
data type.
Link to this section Summary
Functions
Returns true
if value
is a valid precision/0
, false otherwise.
Returns true
if value
is a valid telemetry/0
, false otherwise.
Returns the maximum Decimal.t()
value for the given precision
.
The maximum integer value possible for the money
data type.
Returns the minimum Decimal.t()
value for the given precision
.
The minimum integer value possible for the money
data type.
The storage size the money
data type takes up in the database.
Link to this section Types
money()
View Sourcemoney() :: -9_223_372_036_854_775_808..9_223_372_036_854_775_807
Link to this section Functions
Returns true
if value
is an integer and falls between the minimum/0
and maximum/0
(inclusive) range of the money
data type.
Returns true
if value
is a valid precision/0
, false otherwise.
Returns true
if value
is a valid telemetry/0
, false otherwise.
Returns the maximum Decimal.t()
value for the given precision
.
The maximum integer value possible for the money
data type.
Returns the minimum Decimal.t()
value for the given precision
.
The minimum integer value possible for the money
data type.
The storage size the money
data type takes up in the database.