@designliquido/xpath
    Preparing search index...

    Function promoteUntypedToNumeric

    • Promote untypedAtomic to a numeric type In numeric contexts, untypedAtomic is promoted to double

      Parameters

      • value: string

        The untyped value (as string)

      • targetType: string

        The target numeric type ('decimal', 'float', 'double', or 'integer')

      Returns number

      The promoted numeric value

      Error if the value cannot be converted to the target type