Hotel search response contains fractions in the base-fare and or tax elements. How do we round up?
We recommend that you calculate the total cost of the stay based on the exact amounts returned in the search response and round up/down the final amount. Note that the Cleartrip API system will reject all bookings where the API input booking amount is less the Cleartrip calculated booking amount by more than 1 rupee. The Cleartrip API system will accept bookings where the API input booking amount is greater than the Cleartrip calculated booking amount.