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

sum round


Level 3

I want a script that round  sum into ( nearest 100 and nearest 1000232.jpg

0 Replies


Level 10

As I mentioned in the same thread yesterday (please do not post same threads as we will delete one of them)  - this is not an Experience Manager question - but a general code question. For this question - look at the great online threads that answer this - such as how to round using JavaScript -- javascript - Round number to nearest thousand, up or down depending on the number - Stack Overflow


Employee Advisor

Hi Khaldoon,

As Scott mentioned you can use common JS functions in this case.

Math.round will work fine in this case.

When you do a set value for the field, put it something this