search for: dec_places

Displaying 1 result from an estimated 1 matches for "dec_places".

2006 Jan 17
9
Formatting a float with a set number of decimals
Another newbie question: How do i convert a float to a string, rounded to a certain number of decimals? Thanks -- Posted via http://www.ruby-forum.com/.