<commit_before>SimpleMoney
===========

This gem is intended for working with financial calculations where you need
highly accurate results. When performing calculations where fractional cents
are introduced, these fractional cents are stored in an overflow bucket for the
user to examine as needed.

Usage:
    require 'simple_money'

    a = Money.new(1_00, :as => :cents)
    a.cents        #=> 100
    b = a * 1.555
    b.cents        #=> 156
    Money.overflow #=> #<BigDecimal:... '-0.5E0',4(16)>

Copyright
---------

Copyright (c) 2011 <NAME>. See {file:LICENSE} for details.<commit_msg>update README.md to include example of using #to_s<commit_after>SimpleMoney
===========

This gem is intended for working with financial calculations where you need
highly accurate results. When performing calculations where fractional cents
are introduced, these fractional cents are stored in an overflow bucket for the
user to examine as needed.

Usage:
    require 'simple_money'

    a = Money.new(1_00, :as => :cents)
    a.cents                 #=> 100
    b = a * 1.555
    b.cents                 #=> 156
    Money.overflow          #=> #<BigDecimal:... '-0.5E0',4(16)>
    b.to_s                  #=> "100"
    b.to_s(:as => :decimal) #=> "1.00"

Copyright
---------

Copyright (c) 2011 <NAME>. See {file:LICENSE} for details.
{'fraction_non_alphanumeric': 0.12997746055597295, 'fraction_numerical': 0.03906836964688205, 'mean_word_length': 2.784090909090909, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2415479', 'n_tokens_mistral': 430, 'n_tokens_neox': 377, 'n_words': 143}