Dear Team,
I am currently working on a project in Kentico and I have a question about converting numbers to be separated by thousands and add this method on the autoresponder emails template.
I was wondering if there is a built-in function or method in Kentico that can accomplish this task? If so, could you please provide me with an example of how to use it?
Thank you for your time and assistance.
You can perform your testing in System > Macros > Console but something like this should work:
ToInt("100000100").Format("{0:#,0}")
You can use these pages for reference:
Kentico Macro Methods
Microsoft Composite Formatting
Hi Brenden , can we add this micro code on the autoresponder email?
If yes , this format is correct?
{% ToInt("field").Format("{0:#,0}") %}
Thank you
Please, sign in to be able to submit a new answer.