Float to percentages

Hi, good day to us all,
i was wondering if there was some kind of method for floats to change
them into percentages…i looked up some functions in ruby-doc, but
didn’t find anything suitable.
is there such a thing?

thanks,

harp

Here is your answer:

http://api.rubyonrails.com/classes/ActionView/Helpers/NumberHelper.html#M000450

Roland

Roland M. wrote:

Here is your answer:

http://api.rubyonrails.com/classes/ActionView/Helpers/NumberHelper.html#M000450

Roland

u da man.
thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs