Skip to content

scale

relationalai.semantics.std.decimals
scale(decimal: Concept) -> int

Get the scale (number of decimal places) of a decimal concept.

.. deprecated:: 0.13.0 Use numbers.scale(decimal) <std.numbers.scale> instead.

  • decimal

    (Concept) - The NumberConcept to query.
  • int - The scale of the decimal.