In previous HS Expert versions I used "homemade" function blocks to convert a Float to a String.
Had one for 1, 2 and 3 decimals.
For example 2 decimals:
5012|0|""|"'%.2f' % EN[1]"|""|1|0|0|0
With HS Expert version 4 this does not work anymore.
Maybe because the Python version has changed?
Now I only see the integer part and no decimals.
Like 16 in stead of 16,45
How should the function look like with HS Expert version 4
Danke.
Had one for 1, 2 and 3 decimals.
For example 2 decimals:
5012|0|""|"'%.2f' % EN[1]"|""|1|0|0|0
With HS Expert version 4 this does not work anymore.
Maybe because the Python version has changed?
Now I only see the integer part and no decimals.
Like 16 in stead of 16,45
How should the function look like with HS Expert version 4
Danke.
Kommentar