imbstack/eecs341-project

Value of items is strange

Closed this issue · 2 comments

At the moment, adding an item with a value of 100.00 will result in datamapper spitting back up 0.1E3. This seems wrong.

Resolved.

Added a method in Item.rb that returns a formatted value, and changed _item.haml to access that instead.

Psst, you should submit your fix in a pull request and let Brain close the issue when he merges it into the main repo.