跳至内容
菜单
此问题已终结
1 回复
2469 查看

I want to automatically convert the entered float value as negative value in form

形象
丢弃
最佳答案

Try with -abs() method.It will convert your value in negative format.

Example : 

line.total = -abs(line.total)

形象
丢弃