Multiplication with double and integer

Actually I have a integer 2 and a double 3,7
I want to multiplicate that and get a double as a result

I tried “math.BigMul(int, double)” but It didn’t work

I hope that someone can help me


Do you have any problem that simply 3.7 * 2 ? It will return double.


“int_double = Convert.ToDouble(“3.7”)”
“int_str = integer.Parse(str)”
“mult_double = math.BigMul(int_str, int_double)”

mult_double and int_double are double value


Math.BigMul method is for not double but integer.

I think we can use simply * operator.


Or if you are concern about overflow, it might be better use Decimal type.


thanks a lot

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.