GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MATH::EXPR::NUM (3)

.ds Aq ’

NAME



  Math::Expr::Num - Represents one number in a parsed expression tree



CONTENTS

SYNOPSIS



  require Math::Expr::Opp;
  require Math::Expr::Var;
  require Math::Expr::Num;
 
  # To represent the expression "x+7":
  $n=new Math::Expr::Opp("+");
  $n->SetOpp(0,new Math::Expr::Var("x"));
  $n->SetOpp(1,new Math::Expr::Num(7));
  print $n->tostr . "\n";



DESCRIPTION



  Used by the Math::Expr to represent numbers.



METHODS

CW$n=new Math::Expr::Num($num)



  Creates a new representation of the number $num.



CW$n->tostr



  Returns the string representation of the number which in perl is
  the same as the number itsefle



CW$n->Copy

Returns a new copy of itself.

AUTHOR



  Hakan Ardo <hakan@debian.org>



SEE ALSO



  L<Math::Expr::Opp>



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 EXPR::NUM (3) 1998-12-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.