logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Api

new($num)
       Creates a new XML::LibXML::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.

perl v5.40.1                                       2025-08-01                           XML::LibXML::Number(3pm)

Description

       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.

Name

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

See Also