From: "Bartosz DziewoƄski" Date: 2012-01-23T00:25:52+09:00 Subject: Re: Calaulate percenatge from amount in ruby Yes, multiplication. score = max_score * 0.5 2012/1/22, Lucky Nl : > HI, > How to get 50% percentage value from some amount. > For example i have maxscore = 2.789 > I want to calculate 50%(its dynamic it's may vary like 40% etc..) value > from maxscore.Is there any ruby methods > > -- > Posted via http://www.ruby-forum.com/. > > -- -- Matma Rex