what is the range of values that you're working with? 0 to 100, -3000 to
4000?



On 30 March 2010 04:21, JanneKo <janne.s.kontt...@gmail.com> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Charles A. Lopez
charlesalo...@gmail.com

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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to