Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Golf: Magic Formula for Roman Numerals

by ambrus (Abbot)
on Feb 18, 2007 at 11:21 UTC ( #600677=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub m1{1+4*y/VLD//.E.ord()x3%75%50%4}
    
  2. or download this
    sub m3{5**y/VLD//.E.ord()x3%75%50%4}
    
  3. or download this
    sub b0{(1e3,10,5,1,100,500,50)[ord()%87%7]}
    
  4. or download this
    sub b1{M1E3D500C100L50X10V5I1=~$_;$'}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-28 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls