fix the bug :ignoring the case when  the price containins decimal by mistake