[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: for matz to do

Phlip

7/27/2007 9:14:00 AM

Florian Gross wrote:

> # output
> precision = 5
> result.to_d(precision).to_s("F") # => "0.10467"

Next, on the "for matz to do" angle, we might need a little lecture here on
how easily Ruby will let you wrap your methods up in reusable classes, such
as BizNum. Quite unlike a BASIC...

--
Phlip
http://www.oreilly.com/catalog/9780...
^ assert_xpath
http://tinyurl.... <-- assert_raise_message