I use this line of code
echo number_format ($debit_sum_500to791,2);
Then it echo me the value if its Plus or minus
I want to filter the value of PLUS or Minus and get only the numbers.
example: if its -10 i need only 10
So i use this way
echo (number_format ($debit_sum_500to791,2),FILTER_SANITIZE_NUMBER_INT);
but it does not working, come empty blank page
I think im not doing it right, so can any one help me with this problem ?