Issue #22856:fix nulls and divide by zero
Merge pull request #130 from garyhgohoos/22856

Issue #22856:fix nulls and divide by zero