what is the range of values that you're working with? 0 to 100, -3000 to 4000?
On 30 March 2010 04:21, JanneKo <[email protected]> wrote: > Hi, > > I have a strange problem with number rounding: > If I try "a_number.round(2)" in console - it works, but the same line > thru passenger fails: "wrong number of arguments (1 for 0)". > Any ideas why? > > I'm running rails 2.3.4 and passenger 2.2.9 > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Charles A. Lopez [email protected] What's your vision for your organization? What's your biggest challenge? Let's talk. (IBM Partner) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

