Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2456 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Example : 

line.total = -abs(line.total)

Awatar
Odrzuć