X Tutup
Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 692 Bytes

File metadata and controls

26 lines (22 loc) · 692 Bytes
title Python float() built-in function - Python Cheatsheet
description Return a floating point number constructed from a number or string x.
Python float() built-in function From the Python 3 documentation Return a floating point number constructed from a number or string x.

Examples

>>> float('10')
# 10.0
>>> float(10)
# 10.0
X Tutup