java - Converting from Integer, to BigInteger -


i wondering if there way convert variable of type integer, biginteger. tried typecasting integer variable, error says inconvertible type.

the method want biginteger#valueof(long val).

e.g.,

biginteger bi = biginteger.valueof(myinteger.intvalue()); 

making string first unnecessary , undesired.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -