11.02.2020, 12:11
Hi
I got a minor problem, im using LM to calculate energy usage for a building and the send them a html report on mail every first every month. Im almost finished, but there is one issue im wondering if there is an easy solution to.
Im using schneider IEM3455 and powertags. The IEM uses 8byte int for energy and this is okey, but the powertag uses 4byte float, and that means it uses comma values.
My script saves values every month to the LM storage, and pulls it out and compares it at the end of the month.
But when its saved to the storage it save it with all the comma values, is there a way to prevent this easly?
Above one is from 4 byte float and the lowest is the 8 byte int
Example of mail:
I got a minor problem, im using LM to calculate energy usage for a building and the send them a html report on mail every first every month. Im almost finished, but there is one issue im wondering if there is an easy solution to.
Im using schneider IEM3455 and powertags. The IEM uses 8byte int for energy and this is okey, but the powertag uses 4byte float, and that means it uses comma values.
My script saves values every month to the LM storage, and pulls it out and compares it at the end of the month.
But when its saved to the storage it save it with all the comma values, is there a way to prevent this easly?
Above one is from 4 byte float and the lowest is the 8 byte int
Example of mail: