View previous topic :: View next topic |
Author |
Message |
Kris
Joined: 12 May 2010 Posts: 375
|
Posted: Mon Nov 04, 2013 7:45 am Post subject: Tune up value |
|
|
Hiya all,
I try to create a tune up reply like this:
If (SuggestedReply > 0) then
(SuggestedReply / 1024)
Else
0
End if
I can't seem to get it right.... |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Mon Nov 04, 2013 8:19 am Post subject: |
|
|
Should be:
If (%SuggestedReply%>0) [%SuggestedReply% div 1024]; else 0
Please note, HostMonitor uses only integer division. |
|
Back to top |
|
|
Kris
Joined: 12 May 2010 Posts: 375
|
Posted: Mon Nov 04, 2013 8:53 am Post subject: |
|
|
Brilliant!
Thanks again |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Mon Nov 04, 2013 8:56 am Post subject: |
|
|
You are welcome |
|
Back to top |
|
|
|