python remove part of decimals from float code example
Example: remove decimal python
# Truncates a double to an int
i = 10.0
k = int(i)
# i = 10.0
# k = 10
# Truncates a double to an int
i = 10.0
k = int(i)
# i = 10.0
# k = 10