LaTeX forum ⇒ Calendars and MiscellaneousChanging the currency from dollars to danish crowns Topic is solved

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

Changing the currency from dollars to danish crowns

Postby templateuser » Sat Mar 21, 2015 9:54 am

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 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Changing the currency from dollars to danish crowns  Topic is solved

Postby Vel » Sat Mar 21, 2015 10:02 am

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:

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


becomes

##1 & & \$\formatNumber{##2} & \FPmul{\cost}{##2}{1}\formatNumber{\cost} kr.


Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com


Return to “Calendars and Miscellaneous”

Who is online

Users browsing this forum: No registered users and 2 guests