Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2482 Vues

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

Avatar
Ignorer
Meilleure réponse

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

Example : 

line.total = -abs(line.total)

Avatar
Ignorer