Skip to main content
Nintex Community Menu Bar

How can i round decimals?

  • November 22, 2019
  • 2 replies
  • 14 views

This question might be silly, but is there a command to round decimals?

Example: 

i have a periodic 1,66666... and i just want 1.67

The number must be with 2 decimals and rounded up to nearest (.5 rounds up)

Translate
Did this topic help you find an answer to your question?

2 replies

  • 1 reply
  • August 29, 2022

I don't think there's a built in command, but you could always use a very simple Python script!

 

 

This will do what you're looking for I think. Here's a guide on how to use Python's round: https://www.w3schools.com/python/ref_func_round.asp

Translate

  • Author
  • 1 reply
  • August 29, 2022

Oh nice, ill try using a script like that next time... I tried with jscript and failed, and ended up doing this workaround

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings