[discount amount] [fix] fraction issue solved and test cases fix