Convert large numbers into smaller ones with count method

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?

On Mon, Jan 11, 2016 at 9:02 PM, David W. [email protected]
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 :slight_smile:

ActionView::Helpers::NumberHelper


Hassan S. ------------------------ [email protected]

twitter: @hassan
Consulting Availability : Silicon Valley or remote

Hassan S. wrote in post #1180540:

On Mon, Jan 11, 2016 at 9:02 PM, David W. [email protected]
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 :slight_smile:

ActionView::Helpers::NumberHelper


Hassan S. ------------------------ [email protected]
Hassan Schroeder | about.me
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Thanks!