warn "not a decimal number" unless (/^-?\d+\.?\d*$/); #rejects .2