

EOQD() - Economic order quantity
| Type
| Field
| Description
|
| double
| dCostOrder
| Cost of placing order
|
| double
| dUnits
| Annual unit sales
|
| double
| dCostHold
| Holding cost as a percent of inventory value
|
| double
| dCostUnit
| Cost per unit
|
| double
| dDisc
| Discount rate as percentage
|
| double
| dTax
| Tax rate as percentage
|
PowerBuilder Function declaration
function double EOQD(double dCostOrder, double dUnits, double dCosthold, double dCostUnit, double dDisc, double dTax) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function EOQD lib "IFL16" (ByVal dCostOrder As Double, ByVal dUnits As Double, ByVal dCostHold As Double, ByVal dCostUnit As Double, ByVal dDisc As Double, ByVal dTax As Double) As Double
C/C++ Synopsis
#include "function.h"
double EOQD(double dCostOrder, double dUnits, double dCosthold, double dCostUnit, double dDisc, double dTax)
32 bit DLL declarations
PowerBuilder Function declaration
function double EOQD(double dCostOrder, double dUnits, double dCosthold, double dCostUnit, double dDisc, double dTax) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function EOQD lib "IFL32" (ByVal dCostOrder As Double, ByVal dUnits As Double, ByVal dCostHold As Double, ByVal dCostUnit As Double, ByVal dDisc As Double, ByVal dTax As Double) As Double
C/C++ Synopsis
#include "function.h"
double EOQD(double dCostOrder, double dUnits, double dCosthold, double dCostUnit, double dDisc, double dTax)
Example:
| dCostOrder
| =
| 35.00
|
|
| dUnits
| =
| 1,500
|
|
| dCostHold
| =
| 0.04
| (4%)
|
| dCostUnit
| =
| 21.00
|
|
| dDisc
| =
| 0.08
| (8%)
|
| dTax
| =
| 0.4
| (40%)
|