CCP 1921     

Art. 1921.  Interest allowed by the judgment

The court shall award interest in the judgment as prayed for or as provided by law.