Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #6572
| From | Phlip <phlip2005@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: convert big number to 1.6G, 24K, 2M etc format? |
| Date | 2012-06-21 18:07 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <ad4f949e-74a4-414a-aec8-5c9902b3cd1a@wt8g2000pbb.googlegroups.com> (permalink) |
| References | <197a6cd1-6ccd-4c5c-a060-c4339d449f51@q5g2000pba.googlegroups.com> |
> Given that "K G M" is deucedly hard to Google for, I'm gonna have to > start writing this. (Yes it's probably easy...) Oh duh it's action_view/helpers/number_helper.rb: number_to_human_size() Just search for KB GB MB. Darn it! I never get to write any original algorithms these days!! (Careful what we wish for, right?;)
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar
convert big number to 1.6G, 24K, 2M etc format? Phlip <phlip2005@gmail.com> - 2012-06-21 16:06 -0700 Re: convert big number to 1.6G, 24K, 2M etc format? Phlip <phlip2005@gmail.com> - 2012-06-21 18:07 -0700
csiph-web