Rules syntax


#1

@bankstownbloke
I am recording the temperature from WU in extended variable v9. How do I modify the value in v9 which is now degrees C to degrees F? The syntax used in the equations is not adequately explained to make it easier for non-programmers to formulate a correct formula. I can see how to do a simple multiplication but not the more complicated formula with multiple operations such as temperature scale conversion.
A reference on the subject explaining how to do math with variables would be helpful.


#2

The rule to convert C to F -

v9 = v9 * 9/5 + 32

The syntax is that of Java, some examples in the reference below -


#3

Or…
v9 = v9 * 1.8 + 32

if you don’t like fractions