Skip to content

ExtendedNumerics.BigDecimal.Pow(ExtendedNumerics.BigDecimal,ExtendedNumerics.BigDecimal,int)

Adam White edited this page Oct 7, 2024 · 1 revision

BigDecimal.Pow(BigDecimal, BigDecimal, int) Method

Returns a specified number raised to the specified power.
Note: This method may be a bit slower than the other Pow overloads. Prefer the other overloads if possible.
To improve execution speed, set AlwaysTruncate to true
and set Precision to only the precision that you need.

public static ExtendedNumerics.BigDecimal Pow(ExtendedNumerics.BigDecimal @base, ExtendedNumerics.BigDecimal exponent, int precision);

Parameters

base BigDecimal

exponent BigDecimal

precision System.Int32

Returns

BigDecimal

Clone this wiki locally