結果 : check if number has decimal point javascript