The following is on a query I am using to calculated percentages:
Switch % Capacity Utilized: 1-([Switch Ports Available]/[Switch Total Ports Turned Up])
Because I have some instances where the divisor is a zero, I was getting "Error" - so I revised the above to:
Switch % Capacity Utilized: IIf([switch total ports turned up]=0,"0",1-([Switch Ports Available]/[Switch Total Ports Turned Up]))
Now none of the fields format correctly AND I get alot of percentages with "E", where previously there was no problem:
8.33333333333334E-02
Any thoughts as to what is causing this? Marie
Switch % Capacity Utilized: 1-([Switch Ports Available]/[Switch Total Ports Turned Up])
Because I have some instances where the divisor is a zero, I was getting "Error" - so I revised the above to:
Switch % Capacity Utilized: IIf([switch total ports turned up]=0,"0",1-([Switch Ports Available]/[Switch Total Ports Turned Up]))
Now none of the fields format correctly AND I get alot of percentages with "E", where previously there was no problem:
8.33333333333334E-02
Any thoughts as to what is causing this? Marie