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

I have a float field and i can calculate amount within this field. I want that amount should show in round figure. For eg. when price is 64.80 then it updated to 65 and if price 64.40 then it updated to 64. So, what solution i could use?
Thanks in advance.

아바타
취소
베스트 답변

you can use python's round() function

아바타
취소
작성자 베스트 답변

Problem solved by just using 'round'. For eg. round(amount).
Thanks.

아바타
취소
관련 게시물 답글 화면 활동
2
10월 18
6928
0
8월 22
2607
1
7월 22
20398
0
4월 22
3224
3
9월 21
3389