# Use int to convert floats to integers.
# ... The value is always rounded down (truncated).
value = 1.5
result = int(value)
print(value,
"INT =", result)
value = 1.9
result = int(value)
print(value,
"INT =", result)
value = -1.9
result = int(value)
print(value,
"INT =", result)
1.5 INT = 1
1.9 INT = 1
-1.9 INT = -1