![](/img/trans.png)
[英]In AutoNumeric javascript, how do I create a format that shows integer if the input is an integer but currency if the input is a float?
我需要在 AutoNumeric javascript 中創建一個格式來執行以下操作: 如果文本框的輸入值為87 ,請保持無格式: 87 如果輸入值為87.6 ,則顯示為: 87.60 如果輸入值為87.65 ,則顯示為: 87.65 如果輸入值為87.654 ,則顯示為: 87.654 如果輸入 ...