1,200 covert to int php

PHP
intval($string);
Source

Also in PHP: