How to multiple decimal to 1000

hey Guys

i want to multiply decimal value to 1000

Example : variable 1 = 18.85 (decimal value )
variable 2 = 1000

how to multiply these to variables please tell and what datatype we have to use for both

HI,

Can you try Double type as the following?

image

It’s good in most case. Or Decimal type might help you if you need to handle more digits.

Regards,

1 Like

Hello @Shoebmd , Assign input and output variables type into system.Double. It will hold the decimal values.
Input_variable1 assign as System.Double
Input_variable2 assign as System.Double
Output_variable3 assign as System.Double

Ouput_variable3= Input variable1*Input Variable2

Happy Automation

Regards,
Gokul Jai.

1 Like

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