- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFunctions_float().py
More file actions
Latest commit
22 lines (15 loc) · 483 Bytes
/
Copy pathFunctions_float().py
File metadata and controls
22 lines (15 loc) · 483 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Python float() Function
# Example
# Convert the number 3 into a floating point number:
x=float(3)
# Definition and Usage
# The float() function converts the specified value into a floating point number.
# Syntax
# float(value)
# Parameter Values
# Parameter Description
# value A number or a string that can be converted into a floating point number
# More Examples
# Example
# Convert a string into a floating point number:
x=float("3.500")