lib/humanize/locales/th.rb in humanize-2.5.1 vs lib/humanize/locales/th.rb in humanize-3.0.0

- old
+ new

@@ -5,10 +5,10 @@ def humanize(number, million_level = 1) if number >= 10_000_000 number, remainder = number.divmod(1_000_000) million_parts = humanize(number, million_level + 1) sub_million_parts = million_humanize(remainder) - sub_million_parts << " " << MILLION * million_level << million_parts.reverse + sub_million_parts << " " << (MILLION * million_level) << million_parts.reverse else million_humanize(number) end end