Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2453 Visninger

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

Avatar
Kassér
Bedste svar

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

Example : 

line.total = -abs(line.total)

Avatar
Kassér