Modified Typedvalue to detect inches