تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2473 أدوات العرض

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)

الصورة الرمزية
إهمال