<@U29JEQVL6> There are two locales: one is the va...
# advancedpdf
s
@al3xicon There are two locales: one is the variable
.locale
, which Netsuite sets based on the print setting (customer's locale vs. account default locale), and then the Freemarker setting called
locale
which actually affects date and number formatting (and possibly currency, but I am not sure about that). I use the following to put the two in sync:
<#setting locale = .locale>
The better way to control the currency characters is to use the
nsformat_currency
function, as it will format it the value as if it was on the transaction itself:
${nsformat_currency(record.amount * -1)}