trunc

expect fun trunc(operand: Expression): Expression(source)

Creates a TRUNC(expr) function that truncates all of the digits after the decimal place of the given numeric expression.

Return

The trunc function.

Parameters

operand

The numeric expression.


expect fun trunc(operand: Expression, digits: Expression): Expression(source)

Creates a TRUNC(expr, digits) function that truncates the number of the digits after the decimal place of the given numeric expression.

Return

The TRUNC(expr, digits) function.

Parameters

operand

The numeric expression.

digits

The number of digits to truncate.

actual fun trunc(operand: Expression): Expression(source)
actual fun trunc(operand: Expression, digits: Expression): Expression(source)
actual fun trunc(operand: Expression): Expression(source)
actual fun trunc(operand: Expression, digits: Expression): Expression(source)