> -----Original Message-----
> From: thiel [mailto:schang / wxs.nl] 
> Sent: Tuesday, November 04, 2008 3:43 PM
> To: ruby-talk ML
> Subject: How to print an array with floating point numbers?
> 
> Hi,
> 
> I tried to print an array with a floating point numbers e.g. x[0,0] =
> 55.123 with the format:  printf("%0.04f\n", x[0,0])
>

Did you mean:
printf("%0.04f\n",x[0][0]) 

--
Shourya