Write a python program to convert float value to an integer and print it.
Question
Write a python program to convert float value to an integer and print it.
in progress
0
Mathematics
10 months
2021-07-19T04:19:32+00:00
2021-07-19T04:19:32+00:00 1 Answers
0 views
0
Answers ( )
Answer:
The math module is to be imported in order to use these methods.
The math module is to be imported in order to use these methods.Syntax: math.floor(x)
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.Returns: largest integer not greater than x.
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.Returns: largest integer not greater than x.Syntax: math.ceil(x)
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.Returns: largest integer not greater than x.Syntax: math.ceil(x)Parameter:
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.Returns: largest integer not greater than x.Syntax: math.ceil(x)Parameter:x: This is a numeric expression.
The math module is to be imported in order to use these methods.Syntax: math.floor(x)Parameter:x: This is a numeric expression.Returns: largest integer not greater than x.Syntax: math.ceil(x)Parameter:x: This is a numeric expression.Returns: Smallest integer not less than x.