Rounding Decimal to Certain Value

1
Hello,    Under certain conditions I need to have a decimal round to a particular decimal value.    As an example if I have a box that costs $23.03 under scenario A I need this to round to $23.10 but under scenario B I need it to round all the way to $23.20.    Does anyone know the best way to approach this? Is there a more advanced way to control the round function?    Thank you. 
asked
2 answers
0

Hi,

I suggest you define a base value, in this case it is 23.00.
Next, create a decision and then depending on scenarios, you can add 0.10 or 0.20 to the base.

 

answered
0

You could use floor to get the 23 and add the rest depending on the scenario. 

You cannot use round if you don’t round :-)  
 

answered