Insurance Code (usually included in commercial codals)
Section 162. If cargo insured against partial loss arrives at the port of destination in a damaged condition, the loss of the insured is deemed to be the same proportion of the value which the market price at that port, of the thing so damaged, bears to the market price it would have brought if sound.