JavaScript in PDF Export

Alright, got it! I checked another other topic to help me

“Taxes” field is a formula field. So :
<%= parseFloat(Entity.Taxes).toLocaleString(‘en’,{style:‘currency’,currency:‘USD’}) %>

and then I have another formula field that includes spaces in the name but this one didn’t work with the formula above which I have no idea why, so I came up with this :

{!Amount without taxes!}

$<%= parseFloat(Entity[‘Amount without taxes’]).toFixed(2) %>

Someone please explain to me why haha!

1 Like