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