Check total amount is a vaild double