how to write 120/(1+5%)=114.285714286 in jQuery

前端 未结 0 1320
梦谈多话
梦谈多话 2020-12-11 16:15

if 120 is x and 5% is y how do i get the result in jQuery 120/(1+5%)=114.285714286

how do i write this in jQuery like

RES= parseFloat(x)/((1+ parseFloat(y%)))=

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