How to format my number with the helper number_to_currency
, but show it without the currency symbol ($, R$, etc)?
Ex.:
$ 500,78 -> Not what i want
500,78 -> Format i desire
Try using it with the :unit
option set to empty string.
number_to_currency(1234567890.50, :unit => "")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With