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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -