How to calculate percentage when old value is ZERO

后端 未结 9 1059
甜味超标
甜味超标 2021-01-31 16:20

I need the logic for the following situation. I am clueless in doing this.

Consider for January I have 10$ revenue and f

9条回答
  •  甜味超标
    2021-01-31 17:08

    It should be (new minus old)/mod avg of old and new With a special case when both val are zeros

提交回复
热议问题