Help me please

Results 1 to 3 of 3
  1. #1
    Registered LordImpaler is offline
    MemberRank
    Jul 2016 Join Date
    14Posts

    Help me please

    Can someone please help me how this works?

    Please help me understand this code. Thank yo.
    Https://ibb.co/gCsicd

    <a href="https://ibb.co/gCsicd"><img src="https://thumb.ibb.co/gCsicd/1528017965558.jpg" alt="1528017965558" border="0"></a>


  2. #2
    Member treebeard is offline
    MemberRank
    Jun 2018 Join Date
    North AmericaLocation
    41Posts

    Re: Help me please

    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.

  3. #3
    Programmer TimeBomb is offline
    ModeratorRank
    May 2008 Join Date
    United StatesLocation
    1,267Posts

    Re: Help me please

    Please read our stickied section rules before posting; this thread is breaking section rule 5.



Advertisement