Home > Back-end >  number_to_human without rounding
number_to_human without rounding

Time:11-10

My goal is to create human readable price tag from integer price. For an example, price is 4_995_000, I wan't to get $4.99M.

I did try all of the options from Screenshot from the rails console

  • Related