Question power of biginteger

andrews

Well-known member
Joined
Nov 22, 2011
Messages
132
Programming Experience
5-10
To get a power of a biginteger is easy : result = numerics.biginteger.pow(bignumber,6)
But how can I get the result if the power is not 6 but 0.238 , numerics.biginteger.pow(bignumber,0.238) ?
Thanks for any response
 
You wouldn't be able to because that would not produce a BigInteger result. If the original value is within range then you'd have to convert it to Double or Decimal first. Otherwise you'd have to determine a more complex mathematical formula for that expression that you could represent in VB and use that.
 
Back
Top