"Int to float"의 두 판 사이의 차이

8번째 줄: 8번째 줄:
print( float(10) )
print( float(10) )
# 10.0
# 10.0
</source>
<source lang='Python'>
print( type(float(10)) )
# <class 'float'>
</source>
</source>


==같이 보기==
==같이 보기==
* [[float to int]]
* [[float to int]]

2018년 7월 15일 (일) 21:49 판

int to float
float

1 Python

print( float(10) )
# 10.0
print( type(float(10)) )
# <class 'float'>

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}