Reply To: Subtracting Percentage from Pricing Script

#95255
Scott Irwin
Member

David,

50% of 49.99 = 24.995, so I use 24.99.
50% of 56.99 = 28.495, so I use 28.49.

Using those 2 prices as an example for number adjuster and multiplying by 0.5, rounding to 2 decimal places, I get the following:

0.5 X 49.99 = 25
0.5 X 56.99 = 28.5

Rounding to 3 decimal places yields me the same results as the calculator, but would require me to manually remove the 3rd decimal place number.

Hope that makes sense.

This article was last modified on June 8, 2017

Comments (0)

Loading comments...