validates, maybe decimal need changes

number_to_currency(1234567890.506, precision: 3) # => $1,234,567,890.506