js parseint commas code example Example: javascript parseint string with comma var intCoor = parseInt(Coor.split(",").join("."));