This question already has an answer here:
I need to return with php value from strings('-1.00','+2.00','-6.00') value like '-1', '+2', '-6'. Thank you!
strings('-1.00','+2.00','-6.00')
'-1'
'+2'
'-6'
</div>
Have a look at intval
$int = intval($string);