• But aren't you trying to convert it to an integer in the code you supplied rather than a numeric data type?

    Granted you'll still get the error but if you run the code you'll get the response "Conversion failed when converting the varchar value '0,.0' to data type int" which isn't one of the available answers.