From: Li Chen Date: 2006-12-04T10:48:41+09:00 Subject: number format Hi all, I have a number, for example, 1.123456789. What is the Ruby way to change it into whatever number of floating points such as 1.12, 1.123,1.1234568 or 1.12345679. Thanks, Li -- Posted via http://www.ruby-forum.com/.