num = 458.59 pos = num.toString().indexOf("."); res = String(num).substring((pos+1), num.length); alert(res)