Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

JE::Object::Number
JavaScript Number object class

JE::Object::Number - JavaScript Number object class


NAME

JE::Object::Number - JavaScript Number object class


SYNOPSIS


  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


DESCRIPTION

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.


METHODS

See the JE::Types manpage for descriptions of most of the methods. Only what is specific to JE::Object::Number is explained here.

value
Returns a Perl scalar containing the number that the object holds.

class
Returns the string 'Number'.


SEE ALSO

JE
JE::Types
JE::Object
JE::Number
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy