I have a decimal value of length 15,4 in my database.
I have a number -23.425 I am trying to round down to -23.42
I have tried the following ways but they all seem to round up to -23.43:
sprintf("%.2f", $discountQueryResult['value'])
floor($discountQueryResult['value']*100)/100
Is there any other way to drop the 3rd decimal place?