DEV Community

Discussion on: How to handle a price with Ruby-on-Rails

Collapse
 
devrafaeldelgad profile image
Rafael C. Delgado

It's easy if you use,

123456789.to_formatted_s(:currency) => $ 123,456,789.00