콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2509 화면

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)

아바타
취소