ATMLModelLibrary.model.Physical.HasUnit C# (CSharp) Method

HasUnit() public static method

public static HasUnit ( string word ) : bool
word string
return bool
        public static bool HasUnit(string word)
        {
            int i;
            return !Int32.TryParse(word.Substring(word.Length - 1, 1), out i);
        }