public bool CheckDecimal(string number) { bool isValid = true; if (number.Substring(number.Length - 1, 1) != ".") { isValid = false; } }
Select allOpen in new window
Credit to the original poster...