<?php $str = "-$251"; echo filter_var($str, FILTER_SANITIZE_NUMBER_INT);
You have javascript disabled. You will not be able to edit any code.