• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Help me please

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 11, 2016
Messages
14
Reaction score
0
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>
 
Junior Spellweaver
Joined
Jun 1, 2018
Messages
105
Reaction score
40
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
Top