I have a problem to understand the following sentence:
It usually costs as much to audit a course as to take it for credit.
In general, I have understood that auditing a course has not any cost. But in the above sentence, it says auditing a course costs as much as taking a course for credit. Maybe I have some problem in understanding the meaning of "audit" and "credit" words. If so, please one clarify them.