contents.gifprev1.gifnext1.gif

BESQ() - Break-even point sold quantity

Calculates the point where the sold quantity equals a zero profit.

Returns

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

Arguments

Type
Field
Description
double
dPrice
Sales price per unit
double
dVarCost
Variable cost per unit
double
dFixedCost
Total fixed cost
16 bit DLL declarations

PowerBuilder Function declaration

function double BESQ(double dPrice, double dVarCost, double dFixedCost) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function BESQ lib "IFL16" (ByVal dPrice As Double, ByVal dVarCost As Double, ByVal dFixedCost As Double) As Double

C/C++ Synopsis

#include "function.h"

double BESQ(double dPrice, double dVarCost, double dFixedCost)

32 bit DLL declarations

PowerBuilder Function declaration

function double BESQ(double dPrice, double dVarCost, double dFixedCost) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function BESQ lib "IFL32" (ByVal dPrice As Double, ByVal dVarCost As Double, ByVal dFixedCost As Double) As Double

C/C++ Synopsis

#include "function.h"

double BESQ(double dPrice, double dVarCost, double dFixedCost)

Example:

dPrice
=
13.00

dVarCost
=
6.75

dFixedCost
=
12,000

Result: 1920 (quantity)