Efficient way to show NaN as Zero

后端 未结 0 988
陌清茗
陌清茗 2020-12-08 21:41

Is there an efficient and smooth way to write a code which switches NaN to zero?

I want to calculate several percentage values, which gives me NaN, if the divisor is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题