What is up with this in ColdFusion's DecimalFormat() function? How do I get the correct result?

前端 未结 4 1754
攒了一身酷
攒了一身酷 2021-01-18 16:27





DecimalFormat(#number1#): #DecimalFormat(n         


        
4条回答
  •  心在旅途
    2021-01-18 17:10

    A quick fix would be to change line 1 to number1 = NumberFormat(20.5/80 * 100,'9.999')

提交回复
热议问题