i want to update a value whcih should be not greater than 1 and the updated value should also be not greater than 1.if the given value is 0.9999 then the updated value should be 0.99999 but i dont know that how many 9s will be there in the given value. so ne ideas?