[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Fwd: Solution to last weeks, as an mixin to the Numeric class

James Gray

4/7/2005 12:56:00 PM

(a solution to quiz #25)

Begin forwarded message:

> From: Todd Nathan <al2o3ist@yahoo.com>
> Date: April 6, 2005 8:38:15 PM CDT
> To: james@grayproductions.net
> Subject: Solution to last weeks, as an mixin to the Numeric class
>
> I wrote this a while ago in Sensetalk and missed you contest.
> Here is my ruby translation. Works well, with negative, zero
> and positives, all the way up to 10**303.... :)
>
> http://al2o3ist.dyndns.org/sandbox/examples/nu...
>
> maybe you can add it to your collection :)
> I'll be working on some more as time allows.
> Hopefully you all find this useful.
>
> Todd
>
> PS. It also handles British and English/American
> units. I was going to do German, but I don't speak it well enough
> or have the inclination. Maybe some of the Rubyist in Munich
> could work on it.
>