Hi,
I try to change a format number in the converter with toLocalString() function :
number.toLocalString('fr-FR');
But there is no effect on the display number on my page...
Anybody knows what can I do ??
Thanks !
Adrien
Looks like a simple typo to me:
var formattedNumber = number.toLocaleString('fr-FR');
Did you know you can also format your numbers in your template instead of your Converter? For this see Velocity API Available In Templates where you will find that the Velocity NumberTool is available.
I try with the good one :)
toLocaleString('fr-FR')
but I have no change on my displaying confluence page...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pretty hard for me to figure out without seeing all of your converter. ;)
Please raise a ticket at our ServiceDesk for PocketQuery and attach your converter, template and query and tell us exactly what you are trying to achieve. Feel free to censor any sensitive data.
Best regards,
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same problem. I used the instruct below, but i get the result in plain text. If i not use de locale pt_BR (Brazil), i get the right result, but in english format.
$numberTool.format('currency', $value, 'pt_BR')
Best regards,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roberto,
since you also raised a support ticket we'll talk there! :)
Cheers,
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.