danielberkompas / number

ActionView::Helpers::NumberHelper for Elixir
MIT License
224 stars 37 forks source link

Fix percentage spec #56

Closed fiodorbaczynski closed 1 year ago

fiodorbaczynski commented 2 years ago

The typespec for number_to_percentage/2 indicates the first argument should be number(). However, this argument is passed to number_to_delimited/2, which accepts Number.t().

danielberkompas commented 1 year ago

Thanks! 🌟