Help me please

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 11, 2016
Messages
17
Reaction score
2
Can someone please help me how this works?

Please help me understand this code. Thank yo.

<a href="https://ibb.co/gCsicd"><img src="https://thumb.ibb.co/gCsicd/1528017965558.jpg" alt="1528017965558" border="0"></a>
 
V is set equal to QUANTITY.

if V is less than or equal to 500, then V now = 13.3

if V is less than or equal to 750, then V now = 19

if V is less than or equal to 1000, then V now = 23.75

if V is less than or equal to 2000, then V now = 32.3

anything else and V is now = to 34 + roundedToNextHighestValue((v-2000) / 1000) * 8

After setting V, return it to be used later.
 
Status
Not open for further replies.
Back