JBigDecimalFieldBase

An abstract field over BigDecimal.

Functions

add
Link copied to clipboard
open override fun add(left: BigDecimal, right: BigDecimal): BigDecimal
Addition of two elements.
binaryOperation
Link copied to clipboard
open fun binaryOperation(operation: String, left: BigDecimal, right: BigDecimal): BigDecimal
Dynamically invokes a binary operation with the certain name.
binaryOperationFunction
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: BigDecimal, right: BigDecimal) -> BigDecimal
Dynamically dispatches a binary operation with the certain name.
bindSymbol
Link copied to clipboard
open fun bindSymbol(value: String): BigDecimal
The same as bindSymbolOrNull but throws an error if symbol could not be bound
bindSymbolOrNull
Link copied to clipboard
open fun bindSymbolOrNull(value: String): BigDecimal?
Wraps a raw string to T object.
div
Link copied to clipboard
open operator fun BigDecimal.div(other: BigDecimal): BigDecimal
Division of two elements.
open operator fun BigDecimal.div(k: Number): BigDecimal
Division of this element by scalar.
divide
Link copied to clipboard
open override fun divide(left: BigDecimal, right: BigDecimal): BigDecimal
Division of two elements.
leftSideNumberOperation
Link copied to clipboard
open fun leftSideNumberOperation(operation: String, left: Number, right: BigDecimal): BigDecimal
Dynamically invokes a binary operation with the certain name with numeric first argument.
leftSideNumberOperationFunction
Link copied to clipboard
open fun leftSideNumberOperationFunction(operation: String): (left: Number, right: BigDecimal) -> BigDecimal
Dynamically dispatches a binary operation with the certain name with numeric first argument.
minus
Link copied to clipboard
open operator override fun BigDecimal.minus(other: BigDecimal): BigDecimal
Subtraction of two elements.
multiply
Link copied to clipboard
open override fun multiply(left: BigDecimal, right: BigDecimal): BigDecimal
Multiplies two elements.
number
Link copied to clipboard
open override fun number(value: Number): BigDecimal
Wraps a number to T object.
plus
Link copied to clipboard
open operator fun BigDecimal.plus(other: BigDecimal): BigDecimal
Addition of two elements.
pow
Link copied to clipboard
open infix fun BigDecimal.pow(pow: Number): BigDecimal
Raises this value to the power pow.
power
Link copied to clipboard
open override fun power(arg: BigDecimal, pow: Number): BigDecimal
Raises arg to the power pow.
rightSideNumberOperation
Link copied to clipboard
open fun rightSideNumberOperation(operation: String, left: BigDecimal, right: Number): BigDecimal
Dynamically invokes a binary operation with the certain name with numeric second argument.
rightSideNumberOperationFunction
Link copied to clipboard
open fun rightSideNumberOperationFunction(operation: String): (left: BigDecimal, right: Number) -> BigDecimal
Dynamically dispatches a binary operation with the certain name with numeric first argument.
scale
Link copied to clipboard
open override fun scale(a: BigDecimal, value: Double): BigDecimal
Scaling an element by a scalar.
sqrt
Link copied to clipboard
open override fun sqrt(arg: BigDecimal): BigDecimal
Computes the square root of the value arg.
times
Link copied to clipboard
open operator fun BigDecimal.times(other: BigDecimal): BigDecimal
Multiplies this element by scalar.
open operator fun BigDecimal.times(k: Number): BigDecimal
Multiplication of this element by a scalar.
open operator fun Number.times(other: BigDecimal): BigDecimal
Multiplication of this number by element.
unaryMinus
Link copied to clipboard
open operator override fun BigDecimal.unaryMinus(): BigDecimal
The negation of this element.
unaryOperation
Link copied to clipboard
open fun unaryOperation(operation: String, arg: BigDecimal): BigDecimal
Dynamically invokes a unary operation with the certain name.
unaryOperationFunction
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: BigDecimal) -> BigDecimal
Dynamically dispatches a unary operation with the certain name.
unaryPlus
Link copied to clipboard
open operator fun BigDecimal.unaryPlus(): BigDecimal
Returns this value.

Properties

one
Link copied to clipboard
open override val one: BigDecimal
The neutral element of multiplication
zero
Link copied to clipboard
open override val zero: BigDecimal
The neutral element of addition.

Inheritors

JBigDecimalField
Link copied to clipboard
JBigDecimalField
Link copied to clipboard

Sources

jvm source
Link copied to clipboard