fix dollars to cents logic