1XML::LibXML::Number(3)User Contributed Perl DocumentationXML::LibXML::Number(3)
2
3
4
6 XML::LibXML::Number - Simple numeric values.
7
9 This class holds simple numeric values. It doesn't support -0, +/-
10 Infinity, or NaN, as the XPath spec says it should, but I'm not hurting
11 anyone I don't think.
12
14 new($num)
15 Creates a new XML::LibXML::Number object, with the value in $num. Does
16 some rudimentary numeric checking on $num to ensure it actually is a
17 number.
18
19 value()
20 Also as overloaded stringification. Returns the numeric value held.
21
22
23
24perl v5.28.1 2019-02-10 XML::LibXML::Number(3)