PHP division adds a comma

后端 未结 0 1555
时光说笑
时光说笑 2021-01-26 00:23

I\'m trying to convert cents to dollars (I don\'t need dollar sign, just value) but when I divide a number smaller than 100 by 100 I get a strange result.

Eg.: 1/100 give

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