강의

멘토링

커뮤니티

Inflearn Community Q&A

liang's profile image
liang

asked

1 minute snack python for intermediate users

0.1+0.2 is not 0.3

외부에서 오는 float형 숫자

Written on

·

199

0

코드 상에서 0.1 이 아니라, 통신을 통해 외부에서 0.1 을 받았다면, 이미 0.1 이 0.100051234 이런 식일 것입니다.

이를 Decimal 을 통해 0.1로 관리할 수 있는 방법이 있을까요?

python

Answer

This question is waiting for answers
Be the first to answer!
liang's profile image
liang

asked

Ask a question