Comparing decimals

For Trello cards:
https://trello.com/c/QLphd06d/129-comparing-decimals-1
https://trello.com/c/kFTTP23f/149-comparing-decimals-2