1234.50
"#{(product.price).to_f}"
=> 1234.5
"#{(product.price).to_s(:delimited)}"
=> 1,234.5
We'll deliver articles that match you.
You can read useful information later.
Go to list of users who liked
More than 3 years have passed since last update.
1234.50
"#{(product.price).to_f}"
=> 1234.5
"#{(product.price).to_s(:delimited)}"
=> 1,234.5
Register as a new user and use Qiita more conveniently
Go to list of users who liked
Comments
Let's comment your feelings that are more than good