Discussions

Expand all | Collapse all

Quickbase function for getting the quotient

  • 1.  Quickbase function for getting the quotient

    Posted 16 days ago
    What is the quickbase function for getting value of quotient in division. Eg. 16//3 should give 5. 18//3 gives 6. 21//2 gives 10

    ------------------------------
    Winss Albo
    ------------------------------


  • 2.  RE: Quickbase function for getting the quotient

    Posted 15 days ago
    Winss,

    One way to solve this is to use the Integer  function to capture the whole numbers from the division of the number

    [Numerator]
    [Denominator]

    Int( [Numerator]/[Denominator])

    ------------------------------
    Don Larson
    Paasporter
    Westlake OH
    ------------------------------



  • 3.  RE: Quickbase function for getting the quotient

    Posted 15 days ago
    Thanks Don.
    For anyone having the same problem you can find this also using
    ( [Numerator] - Rem(Numerator, Denominator) )/ [Numerator]
    Rem is QuickBase function to return the Reminder of a division operation.

    ------------------------------
    Winss Albo
    ------------------------------