# Number format helpers - standalone?

**URL:** <https://www.ruby-forum.com/t/number-format-helpers-standalone/205365>\
**Category:** Rails I18n\
**Created:** [April 5, 2011, 10:21am UTC](https://www.ruby-forum.com/t/number-format-helpers-standalone/205365 "2011-04-05T10:21:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [April 5, 2011, 10:21am UTC](https://www.ruby-forum.com/t/number-format-helpers-standalone/205365/1 "2011-04-05T10:21:45Z")

</div>

Hey, just a question out of interest:

I recently created a sinatra project and used ruby-i18n in it. I  
noticed that there are yaml files for date formats (and also numbers)  
in the rails-i18n project.  
They worked out of the box for dates.

So I wondered if there are number format helpers, and although the  
formats are in the above mentioned files,  
the helpers are in ActiveView:

> **[ActionView::Helpers::NumberHelper](https://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html)**
>
> Provides methods for converting numbers into formatted strings. Methods are provided for phone numbers, currency, percentage, precision, positional notation, file size, and pretty printing.

So to use them with a standalone ruby project you have to extract it.  
Is there a reason behind that? Wouldn’t it make sense to include this  
in ruby-i18n or rails-i18n?

Just wondering about the reasons  
Thanks,  
Christoph
