Simplifying if else

@spamushere Are you sure that you have Number 0 and not the string “0”? If you have a number (and 0 is a number), you shouldn’t be getting NaN.