Hi
i am creating a price searching widget.
the price table has the fields
price , product_id
Sometimes the price is a long float for example 4,56889
I d like to return also this product_id when the user searches for 4,57.
so i need a where clause in which i can round the db price field.
I used "WHERE ROUND(price,2) =4,57" but it does not rounding the price.
Is there a way to do that ?