Ruby on Rails Tuesday, January 12, 2016

Hassan Schroeder wrote in post #1180540:
> On Mon, Jan 11, 2016 at 9:02 PM, David Williams <lists@ruby-forum.com>
> wrote:
>> Big numbers will cause issues within the views when a follower reaches a
>> certain amount. For example. (1,000,000) How can I convert the number
>> into 1 Mil or for 1,500,000 into 1.5 Mill?
>
> included for you :-)
>
> ActionView::Helpers::NumberHelper
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
> Consulting Availability : Silicon Valley or remote

Thanks!

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4bc02e0f48647fe0b5632be36ac9f361%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment