A
A
Andrey2018-08-10 14:33:41
Programming
Andrey, 2018-08-10 14:33:41

How to make multiplication Stimulsoft?

Good day everyone!
Please tell me how to do calculations in Stimulsoft?
I pass two values ​​to the generator: quantity 20,000 and unit price 593.22. Values ​​in double columns.
And nothing happens :( I've already looked at both the video and the manual ... It seems everything is simple {UPD_Table.kol_vo * UPD_Table.price}, but either this error:

error CS0019: Оператор "*" не может применяться к операндам типа "string" и "double"'
or just "0".
Can anyone come across?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
d-stream, 2018-08-10
@andrey71

{(double)UPD_Table.kol_vo * (double)UPD_Table.price} - either saves or throws out a more detailed message.
What version of the reporter?

F
freeExec, 2018-08-10
@freeExec

Your quantity is not a number, but a text.

Z
Zermond, 2018-08-10
@Zermond

Convert.ToDouble();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question