A borrower of money, unless there is an express contract to the contrary, must pay the amount due in such money as is current at the time when the loan becomes due, whether such money is worth more or less than the actual money lent.
Ca. Civ. Code § 1913