Hello,
This is my first post here. I'm an absolute noob in HTML, so I appologise if my question is incorrect / incomplete.
I use a program which creates a PDF document with HTML.
In a part of the code that is used to put a number on the PDF this code is used:
<div><span style="font-family: Arial; font-size: 10pt;">${fktRPrijs:${#amount}}</span>
I want the number on the PDF to be 100 times smaller than te number that is currently displayed.
(So when it says 40 in the current PDF, I want it to be 0.40) --> actually it should be 0,40 as we use a comma in my country for fractions,but I suppose that's not relevant.
I tried to modify the code like this:
div><span style="font-family: Arial; font-size: 10pt;">${fktRPrijs:${#amount}}/100</span>
To my surprise the number on the PDF did change, but not to 0.40, but to 4000. (So it multiplied by 100).
Can anybody tell me how I should modify the first line of code so that it does devide the result by 100?
I hope you can help me.
Kind regards,
Erwin
Hello,
And HTML won't create any PDFs or anything else. What created the PDF?
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)