Hi,
I would like to have an average data value, when the value is a non decimal value, shown in one or two decimal places.
Now, when the value is non decimal at time, e.g. solar 150, it is shown as 150.
(While it shows 150,3 for example ok.)
But i want to have it display 150,00
How can i accomplish this in crbasic?
With kind regards.
Hi,
what's about Sprintf?
e.g. Sprintf(target,"%3.2f%",value)
Greetings
Hi,
What do you mean? display in numeric or historical data?
Smile
Hi,
I have set the datatype to IEE4 so the possibility of having a average of e.g. 150 is small, will mostly have some digits behind the, .
Do you have a solution for my other post about the daily Timestamp?
Ive set the output option to midnight is 2400.
So the data in the daily dat file is showing 2019-11-6 24:00:00
But in my rtmc graphs with daily data from that dat file its showing the data from today instead of 6th of november...
Cheers.