

EOQ() - 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
|
PowerBuilder Function declaration
function double EOQ(double dCostOrder, double dUnits, double dCosthold, double dCostUnit) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function EOQ lib "IFL16" (ByVal dCostOrder As Double, ByVal dUnits As Double, ByVal dCostHold As Double, ByVal dCostUnit As Double) As Double
C/C++ Synopsis
#include "function.h"
double EOQ(double dCostOrder, double dUnits, double dCosthold, double dCostUnit)
32 bit DLL declarations
PowerBuilder Function declaration
function double EOQ(double dCostOrder, double dUnits, double dCosthold, double dCostUnit) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function EOQ lib "IFL32" (ByVal dCostOrder As Double, ByVal dUnits As Double, ByVal dCostHold As Double, ByVal dCostUnit As Double) As Double
C/C++ Synopsis
#include "function.h"
double EOQ(double dCostOrder, double dUnits, double dCosthold, double dCostUnit)
Example:
| dCostOrder
| =
| 35.00
|
|
| dUnits
| =
| 10,000
|
|
| dCostHold
| =
| 0.2
| (20%)
|
| dCostUnit
| =
| 4.73
|
|