A would-be-groom fumbling at a simple maths query cost his marriage as the girl refused to marry him and the wedding had to be called off.