Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Rounding to the nearest 50

by esskar (Deacon)
on Mar 01, 2004 at 14:22 UTC ( [id://332915]=note: print w/replies, xml ) Need Help??


in reply to Re: Rounding to the nearest 50
in thread Rounding to the nearest 50

your code
for my $n (148..153) { print $n + 50 - $n % 50, "\n"; }
does the same error as borisz' original post...

Update:
now it's better! :p

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-24 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found