Calendars and MiscellaneousChanging the currency from dollars to danish crowns

Calendars, invoices, tables, memos, contracts, dictionaries, code snippets
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Changing the currency from dollars to danish crowns

Post by templateuser »

Thanks for a great template. However, I am having some problems changing
the currency from dollars to danish crowns. I searched the invoice.cls
file for a place to change this but can not find anything. Can you point
me in the right direction?

Jonas

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Changing the currency from dollars to danish crowns

Post by Vel »

Hi Jonas,

Search the invoice.cls file for all occurences of \$ and remove them then place kr. at the end of those statements, e.g:

Code: Select all

##1 & & \$\formatNumber{##2} & \$\FPmul{\cost}{##2}{1}\formatNumber{\cost}
becomes

Code: Select all

##1 & & \$\formatNumber{##2} & \FPmul{\cost}{##2}{1}\formatNumber{\cost} kr.
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply