Skip to content

precision

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

Get the precision (total number of digits) of a decimal concept.

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

  • decimal

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