vinnie wrote:
On Sep 1, 5:44 pm, Marc Gravell <marc.grav...@gmail.comwrote:
>Math.Pow?
how?
deciaml a = 4;
decimal b = 3;
then?
Math.Pow(a,b) works for double, int etc. but not for
decimal.
If the second argument really is decimal, then I think you will
need to convert to double, pow and then convert the result back.
If the second argument is really an integer (which seems more
likely), then you can easily write your own Pow.
Arne