Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

(jcwren) RE: Adding 2 + 2

by jcwren (Prior)
on Sep 11, 2000 at 21:26 UTC ( #31934=note: print w/ replies, xml ) Need Help??


in reply to Adding 2 + 2

#!/usr/local/bin/perl -w use strict; use Lingua::EN::Numbers qw(American); { my $v++; my $t=new Lingua::EN::Numbers(++$v); my $f=new Lingua::EN::Numbers($v*$v); print sprintf "Adding %s + %s = %s\n",$t->get_string,$t->get_string +,$f->get_string; }
--Chris

e-mail jcwren


Comment on (jcwren) RE: Adding 2 + 2
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (16)
As of 2014-09-19 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (140 votes), past polls