Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2475 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Example : 

line.total = -abs(line.total)

Avatar
Zrušit