planserendipity

Maintain data format between layouts

Discussion created by planserendipity on Mar 8, 2017
Latest reply on Mar 8, 2017 by philmodjunk

Hi,

 

I have a simple script that copies a layout field value (number) into a variable (Set Variable), switches to an unrelated layout and pastes the value from the variable into a global number field. The problem is that if the original value is written as 12.0 the value pasted into the global field is 12 (without the decimal point and zero). All other floats work fine as you would expect but I'd like to retain the number formatting of 12.0 when I move from one layout to the next without removing the decimal point and zero.

 

Any help appreciated,

 

Cheers,

 

PS

Outcomes