scale
relationalai.semantics.std.decimals
scale(decimal: Concept) -> intGet the scale (number of decimal places) of a decimal concept.
.. deprecated:: 0.13.0
Use numbers.scale(decimal) <std.numbers.scale> instead.
Parameters
Section titled “Parameters”
(decimalConcept) - The NumberConcept to query.
Returns
Section titled “Returns”int- The scale of the decimal.