Run
import math x = 3.1415 result = math.trunc(x) print('trunc(x) :', result)
Output