Hello John,
you used the most generic version of the string() instant constructor. Its behavior in fact may differ between the targets. In case of WebGL it always displays the 6 digits after the period sign. In other cases it displays up to 6 digits. We have to verify whether this different behavior was desired or whether it is error. Nevertheless, the results of the conversion are not useful in a GUI application because of the limitation to 6 digits after the period sign. The version of string() instant constructor is thus used mostly to print numbers during debugging or test.
To trustworthy format the floating point numbers in the GUI application I would recommend other version of the string() constructor where the number of digits after the period sign can be specified explicitly. See the form 9 in the chater Instant constructors: string(). For example, to always have 1 digit after the period sign:
PowerTemp.String = string( power, 0, 1 ) + "°C";
Does it solve the issue?
Best regards
Paul Banach