|
How do i use a ^ for a double variable?
I need to raise a double variable to X power.
something like this...
double rate;
double sum;
sum = rate ^ -360;
When i try to compile i get the error "Operator '^' cannot be applied operands of type 'double'.
So how does one take a double to X power?
Sorry if i am hard to understand. Im still very new to this.
TIA
|