Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Can Perl do calculations?

by davido (Cardinal)
on Jan 08, 2005 at 05:52 UTC ( #420464=note: print w/replies, xml ) Need Help??


in reply to Can Perl do calculations?

Yes, Perl can do calculations. Perl has all the standard mathematical operators; + (plus), - (minus), * (times), / (divide), and so on.

If you want it to calculate PI to 300 digits, Perl is there for you too, but you've got to learn to program. A good place to start learning Perl is to read "Learning Perl", published by O'Reilly & Associates. You'll find it in most larger bookstores, as well as Amazon.


Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://420464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-06-14 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (64 votes). Check out past polls.

    Notices?