63 lines
1.5 KiB
HTML
63 lines
1.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of XML::XPathEngine::Number</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>XML::XPathEngine::Number</H1>
|
|
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2018-01-01<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
XML::XPathEngine::Number - Simple numeric values.
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
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.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>API</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H3>new($num)</H3>
|
|
|
|
|
|
|
|
Creates a new XML::XPathEngine::Number object, with the value in <TT>$num</TT>. Does some
|
|
rudimentary numeric checking on <TT>$num</TT> to ensure it actually is a number.
|
|
<A NAME="lbAF"> </A>
|
|
<H3><I>value()</I></H3>
|
|
|
|
|
|
|
|
Also as overloaded stringification. Returns the numeric value held.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">API</A><DD>
|
|
<DL>
|
|
<DT id="4"><A HREF="#lbAE">new($num)</A><DD>
|
|
<DT id="5"><A HREF="#lbAF"><I>value()</I></A><DD>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:01 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|