BigDecimal
Index
Codec
codecDecode
Returns the decoded
input
,Result.Ok
orResult.Error()
codecEncode
Returns the encoded
input
codecSchema
Returns the JSONSchema corresponding to the decoded type
Comparator
!=
"Not equal to" operator
<
"Less than" operator
<=
"Less than or equal to" operator
==
"Equal to" operator
>
"Greater than" operator
>=
"Greater than or equal to" operator
clamp
Clamp value between minValue and maxValue
compare
Return a number that represents comparison
equals
Alias to '=='
max
"maximum" operator
min
"minimum" operator
Constructor
asInstance
Try to convert anyValue to enum value or else returns
Option.None
create
Construct a new model
of
Returns a new
BigDecimal
fromvalue
andscale
Numeric
*
Multiplication operator
+
Addition operator
-
Subtraction operator
abs
Absolute value. It should satisfy
Numeric['*'](Numeric.abs(x), Numeric.sign(x)) == x
sign
Sign of a number. It should satisfy
TSigned['*'](TSigned.abs(x), TSigned.sign(x)) == x
Type
inspect
When defined, returns a custom string representation
readonlytypeName
The factory type constant
hasInstance
Return
true
if the given value is an instance of the class.
Other
__call__
format
Returns a string representation of a BigDecimal
normalize
Returns a normalized
value
parse
Returns a new BigDecimal from a string
scale
Scales a given
BigDecimal
to the specified scale.
A collection of functions to manipulate
BigDecimal