Upon a conviction for any crime punishable by imprisonment in any jail or prison, in relation to which no fine is herein prescribed, the court may impose a fine on the offender not exceeding one thousand dollars ($1,000) in cases of misdemeanors or ten thousand dollars ($10,000) in cases of felonies, in addition to the imprisonment prescribed.
Ca. Pen. Code § 672