DOKK / manpages / debian 12 / libxml-xpath-perl / XML::XPath::Number.3pm.en
XML::XPath::Number(3pm) User Contributed Perl Documentation XML::XPath::Number(3pm)

XML::XPath::Number - Simple numeric values.

This class holds simple numeric values. It doesn't support -0, +/- Infinity, or NaN, as the XPath spec says it should, but I'm not hurting anyone I don't think.

Creates a new XML::XPath::Number object, with the value in $num. Does some rudimentary numeric checking on $num to ensure it actually is a number.

value()

Also as overloaded stringification. Returns the numeric value held.

2022-08-13 perl v5.34.0