Displaying 1 result from an estimated 1 matches for "14c807c7".
Did you mean:
148077
2006 Mar 18
2
basic operations in rails
Hi all,
This must be such a beginner''s problem, but I can''t figure it out.
I''m pulling two integers out of a database, and i want to divide one
value with the other, but i keep getting an error about operating on
strings.
Here''s the code -
low_freq = unsorted.last.freq
high_freq = unsorted.first.freq
divider = high_freq / low_freq
In my view, if i display