I have the following code:
(I want to convert dB’s into watt)
double CalculateWatt(float db)
double res = 0;
res = pow(10,db);
this function always return 0 !
this doesn’t seem normal to me.
I already included math.h
what else can I do?