Oh I am *bad* and *wrong*

Simon Wistow simon at thegestalt.org
Tue Dec 18 19:05:16 GMT 2007


On Tue, Dec 18, 2007 at 02:37:47PM +0000, Juliet Kemp said:
> I think you're right.  (That's how I'd read it out loud, unless I was
> talking about currency, I suppose.)

It gets worse. These all work now

    print four.pounds."\n";               # prints "4.00"
    print four.pounds.five."\n";          # prints "4.05"
    print four.pounds.fifty."\n";         # prints "4.50"
    print four.pounds.fifty.five."\n";    # prints "4.55"

    print fifty.pence."\n";               # prints "0.50"
    print fifty.five.pence."\n";          # prints "0.55"
    print four.pounds.fifty.pence."\n";   # prints "4.55"
    print four.pounds.and.fifty.p."\n";   # prints "4.50"

    print fifty.cents."\n";               # prints "0.50"
    print fifty.five.cents."\n";          # prints "0.55"
    print four.dollars.fifty.cents."\n";  # prints "4.55"

Must. Stop. Crack. Making. Me. Go. Blind. 



More information about the london.pm mailing list