Mega Code Archive
Categories
/
Ruby
/
Number
The percentage
((1.to_f / 2.to_f) * 100).to_i