Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Rounding Down In Alteryx

JMSCurrencies
5 - Atom

Hi Everyone!

 

Hopefully you can help with this issue - i'm trying to round-down my values when multiplying commission value by rate

 

CommissionRateDesired
133.20.566.6
2.260.51.13
68.60.534.3
70.960.535.48
1813.250.5906.62

 

Thanks in advance!

1 REPLY 1
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @JMSCurrencies,

 

You could use:

 

IF Mod(Round([Commission] * 100, 1) ,2) = 0

THEN [Commission] * [Rate]

ELSE Floor([Commission] * 100 * [Rate])  / 100

ENDIF

 

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

Labels
Top Solution Authors