I'am trying to use large RPN expressions in Thold plugin but the plugin truncates it.
Do you know how to allow larger expressions?
Ps:
The RPN Expression i want to use is the following:
|ds:hdd_used|,|ds:hdd_used|,|ds:hdd_free|,+,/,100,*,100,EQ,1,|ds:hdd_used|,|ds:hdd_used|,|ds:hdd_free|,+,/,100,*,0,EQ,1,|ds:hdd_used|,|ds:hdd_used|,|ds:hdd_free|,+,/,100,*,IF,IF
The expression pseudocode is the following:
Code: Select all
used=|ds:hdd_used|;
total=|ds:hdd_used| + |ds:hdd_free|;
percentage = (used/total)*100;
if (percentage == 100)
then
result = 1
else
if (percentage == 0)
then
result = 1
else
result=percentage
return result