結果 : javascript test if number has decimal