1618. Damages other than those resulting from delay in the performance of an obligation to pay a sum of money bear interest at the rate agreed by the parties, or, in the absence of agreement, at the legal rate, from the date of default or from any other later date which the court considers appropriate, having regard to the nature of the injury and the circumstances.