how to truncate without using math python 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