Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

how to format integer number in neolane template

Avatar

Level 1

Hi,

I want to format number  1000   to 1,000.00

How to fix it?

Thanks,

Pankaj

4 Replies

Avatar

Level 8

Hi Pankaj,

I'm not sure if you can do that within Neolane.

If you're taking an excel export, you can format the data in excel.

Let me know if that works for you.

Rahul

Avatar

Level 7

Hey Pankaj,

I wanted to check up with you and see if Rahul's suggestion worked. If not please let us know, and if so please mark it correct so other users in the future will know it's the right answer. This simple action helps improve the community for everyone!

Thanks,

Laurel

Avatar

Level 1

i have personalization block in which code is as below :

<%

var price = 120000;

%>

<%= price%>

Remember price is dynamic value.

It should print $12,0000.00

Avatar

Level 7

Hey Pankaj, 

To clarify, is this a solution that you came up with or do need further assistance?

~Laurel