General ⇒ Calculate percentage
-
- Posts: 1
- Joined: Tue May 14, 2013 7:11 am
Calculate percentage
http://www.latextemplates.com/template/invoice
I want to display the "Webhosting" value as a percentage of the Subtotal.
In the example pdf,
Subtotal = 734.55
Webhosting = (734.55 * 3.9 / 100) + 0.3 = 28.95
If the Subtotal is 734.55 then Webhosting should be 28.95.
How can I do that with the code in the above URL ?
I am new to latex. Please help.
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Calculate percentage
Welcome to the LaTeX community!
Please add a

\documentclass
and ending with \end{document}
.Regards