티스토리 뷰

728x90
math.ceil(3.14) // 4
math.floor(3.14) // 3
math.trunc(3.14) // 3
math.trunc(-3.14) // -3
round(3.14) // 3

https://wikidocs.net/21113

 

위키독스

온라인 책을 제작 공유하는 플랫폼 서비스

wikidocs.net

 

728x90

'공부' 카테고리의 다른 글

[Python] pip install -r requirements.txt  (0) 2020.04.09
[Python] split string by length  (0) 2020.04.09
[Python] replace string  (0) 2020.04.09
[MySQL] Decimal(M, D)  (0) 2020.04.09
[Python] Dictionary  (0) 2020.04.09
댓글