First off, the script does not round anything. In fact it does nothing at all to the measure value except to append them together. I will tell you that it does retrieve the string value instead of the number value which may be the cause.Seahorse wrote:Version 6.2 is rounding numbers, eg if a calc returns 15.8 it displays 16. How do I change this behaviour?
Further to that, the figure above is RAM, and Autoscale does not seem to be supported so I am using a calc:
and I want to append GB. e.g 15.85 GB or whatever.Code: Select all
[PhysMemTotalCalc] Measure=Calc Formula=ROUND((MeasurePhysMemTotal/1024/1024/1024),#Accuracy#)
MeasureName=MeasureTime|MeasureDate|PhysMemTotalCalc GB|PhysMemUsedCalc|PhysMemFreeCalc
If I pop a GB after PhysMemTotalCalc the meter is not displayed at all, so what is the method to achieve this please?
Second, adding GB to the end of the measure name is telling the script to retrieve the value of the measure named "PhysMemTotalCalc GB" which is invalid.
The feature you ask for would require that this simple script become far more complex.
Edit: This may be even more complicated than I originally believed. The easier path may be to simply change the existing broad-use script to a single purpose version.
Apparently things may change a bit to make this a TON easier.