contents.gifprev1.gifnext1.gif

MRP() - Manufacturing rate

Calculates manufacturing rates.

Returns

Double value if successful. If an error occurs, this function returns a zero.

Arguments

Type
Field
Description
double
dOptions
Units of optional product
double
dProduct
Units of the main product
16 bit DLL declarations

PowerBuilder Function declaration

function double MRP(double dOptions, double dProduct) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function MRP lib "IFL16" (ByVal dOptions As Double, ByVal dProduct As Double) As Double

C/C++ Synopsis

#include "function.h"

double MRP(double dOptions, double dProduct)

32 bit DLL declarations

PowerBuilder Function declaration

function double MRP(double dOptions, double dProduct) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function MRP lib "IFL32" (ByVal dOptions As Double, ByVal dProduct As Double) As Double

C/C++ Synopsis

#include "function.h"

double MRP(double dOptions, double dProduct)

Example:

dOptions
=
750

dProduct
=
900

Result: 0.833 (83.3%)