Skip to content

precision

relationalai.semantics.std.numbers
precision(number: NumberConcept) -> int

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

  • int - The precision of the number.

Get the precision of a number concept:

>>> numbers.precision(Product.price)