Skip to content

parse

relationalai.semantics.std.decimals
parse(value: str, decimal: Concept) -> Expression

Parse a string into a decimal with the type specified by decimal concept.

.. deprecated:: 0.13.0 Use numbers.parse(value, decimal) <std.numbers.parse> instead.

  • value

    (str) - The string value to parse.
  • decimal

    (Concept) - The NumberConcept specifying the decimal type.
  • Expression - An Expression computing the parsed decimal.