I take it you realise that your "number" is a text string, not a number. You may have to be careful that "0014471211" doesn't get treated as just 14471211 in some cases.
Also that the value doesn't exceed the max value of a longint (approx 2 billion) which might produce a different type of error.