The detriment caused by the breach of a warranty of the quality of personal property is deemed to be the excess, if any, of the value which the property would have had at the time to which the warranty referred, if it had been complied with, over its actual value at that time. SOURCE: CC § 3313.