decimal
relationalai.semantics.std.decimals
decimal(value: NumberValue, precision: int = 38, scale: int = 14) -> VariableCreate a decimal with specified precision and scale.
.. deprecated:: 0.13.0
Use numbers.number(value, precision, scale) <std.numbers.number> instead.
Parameters
Section titled “Parameters”
(valueNumberValue) - The numeric value.
(precisionint, default:38) - The precision (total number of digits).
(scaleint, default:14) - The scale (number of decimal places).
Returns
Section titled “Returns”Variable- A Variable representing the decimal value.