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