コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2463 ビュー

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)

アバター
破棄