Clean input number from local formatting.