PI Deep Dive
Performance tasks
Function reference
MATLAB code
InvPercent
Inverses the given percent.
The inverted percent.
percent: The percent to invert.
percent
1
InvPercent(30.0);
30% will be inverted and -30.0 will be returned.
No function variables are used.