Simple formcalc Avg calculation default value issue
I have a simple Avg FormCalc calculation below, but the default value is showing -0.01 and for the life of me I do not know why, and need some help.
Avg(pmp.Page8.D1, pmp.Page8.D2, pmp.Page8.D3, pmp.Page8.D4, pmp.Page8.D5, pmp.Page8.D6, pmp.Page8.D7, pmp.Page8.D8, pmp.Page8.D9, pmp.Page8.D10 ,pmp.Page8.D11, pmp.Page8.D12, pmp.Page8.D13, pmp.Page8.D14 ,pmp.Page8.D15 ,pmp.Page8.D16)I even tried adding the following code to see if it would help, but didn't.
if (this.rawValue <= 0) this.rawValue = "";The only other thing I did to this field was check the limit field box, and change the display pattern to "num{zzzz9.zz}"
Any help would be appreciated.