Question

How to to addition with decimal number

  • 16 March 2023
  • 1 reply
  • 54 views

Badge

 

Can anyone suggest the way to sort out… below

 

I tried Number to string conversion and addition of number

My expectation addition of 0.30+1 = 1.30

but getting output as 0.30+1 as concat the value

 

 


1 reply

Userlevel 7
Badge +13

Hi @ap442 ,

 

I would recommend doing the arithmetic operation before converting the variable to String. String variable storing the value in text format where the arithmetic operations will not work.

 

Hence, use the Number → Add action to do the addition and later convert the result into String.

Reply