From: Daniel Waite Date: 2007-10-05T00:28:05+09:00 Subject: Re: Human readable file sizes Jes炭s Gabriel y Gal叩n wrote: > I have a list of files and I need to produce a string containing the > size of each file, but in human readable format. With that I mean > something like what df -h does: make an approximation to the nearest > unit (B, KB, MB, GB, etc). Is this already done somewhere? http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#M000525 -- Posted via http://www.ruby-forum.com/.