What do you mean by unknown? Unparseable as a long? Behavior is undefined if the value is not greater than or equal to zero.