Help Improving Money Formatting on the Internet

Why do we have both CSRF protection and CORS?