James Edward Gray II wrote:
> Let me try asking me question a different way...  Is this the correct  
> way to get a printable sqrt() with 16 digits precision?
> 
>  >> sprintf "%.16f", BigDecimal.new("66543").sqrt(16)
> => "257.9592991151890260"

Yes.

I've written some documentation for BigDecimal which will hopefully be 
checked in to Ruby some time.


mathew
-- 
      <URL:http://www.pobox.com/~meta/>
My parents went to the lost kingdom of Hyrule
     and all I got was this lousy triforce.