JE::Object::Number - JavaScript Number object class
use JE; use JE::Object::Number; $j = new JE; $js_num_obj = new JE::Object::Number $j, 953.7; $perl_scalar = $js_num_obj->value; 0 + $js_num_obj; # 953.7
This class implements JavaScript Number objects for JE. The difference between this and JE::Number is that that module implements primitive number values, while this module implements the objects.
See JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::Number is explained here.
Returns a Perl scalar containing the number that the object holds.
Returns the string 'Number'.
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install JE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JE
CPAN shell
perl -MCPAN -e shell install JE
For more information on module installation, please visit the detailed CPAN module installation guide.