Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Rounding number

noopurjain
8 - Asteroid

Hello,

I need help with rounding numbers. I have values in the input column that I need to convert to the corresponding values in the output column. I'm unsure which function to use.

 

Input                       Output
71.93999863 →       71.94
78.49799919 →        78.5

 

 

Thanks for your help!

4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Round function should work! Have you tried it yet?

alexnajm
18 - Pollux
18 - Pollux

Round([Value], 0.01)

nagakavyasri
12 - Quasar

@noopurjain Try round function with the data type as Float/Double

 

Screenshot 2024-11-06 120803.png

WesHarden
6 - Meteoroid

This is weird.  I did the rounding function. When I summed the data following, the rounding did not work in the sum.  However, when I joined the field using a join, it recognized the rounding in the join and accepted the fields as matching (even though 100k records have miniscule fractions of a penny difference) example 12.4999998 to 12.5000002.  FYI, I am comparing data output from alteryx to a previous data source exported to excel.

Labels
Top Solution Authors