結果 : check if number has decimal javascript