Hi,

I have a general question, but I can't locate the answer anywhere else;
The answer is probably simple. I hope someone on here can help me out.

Say I have a list (array) of numbers:

[1.80%, 14.50%, ruby, 3.10%]


How can I convert them to:


[1.8%, 14.5%, ruby, 3.1%]


I hope someone on here can help me out with this. Thanks!
-- 
Posted via http://www.ruby-forum.com/.