search for: some_large_number_field

Displaying 1 result from an estimated 1 matches for "some_large_number_field".

2008 Apr 14
9
scientific notation problem
.... For large numbers, i.e. numbers greater than 100 million, MySQL insists on storing these as scientific notation. I don''t really have a problem with that but when we want to edit these fields using something like: <% form_for(@company) do |f| %> <p> <%= f.text_field :some_large_number_field , :size => 20 %> <%= f.submit "Update" %> </p> <% end %> the field is presented to the user with the number in scientific notation form, not what we want unfortunatly, since the users won''t understand this. We''ve looked at a bunch of docum...