The `int()` function converts the given value into a signed integer value and returns the resulting number. Returns `NaN` if the given argument is not convertible into a number. Returns `NaN` if the conversion result is out of range. -- Testcase -- {% printf("%.J\n", [ int(), int(false), int(123), int(456.789), int(""), int("invalid"), int("deaf"), int("0x1000"), int("0xffffffffffffffff"), int("0177"), int("+145"), int("-96") ]); %} -- End -- -- Expect stdout -- [ 0, 0, 123, 456, 0, "NaN", "NaN", 4096, "NaN", 127, "NaN", -96 ] -- End --