contents.gifprev1.gifnext1.gif

X2Y() - X to Y

These functions convert X to Y. In the function declaration we used X2Y. This need to be replaced by one the following function names.

M2MI
meter to mile
M2NMI
meter to nautical mile
M2IN
meter to inch
M2FT
meter to foot
M2YD
meter to yard
M2PICA
meter to pica


MI2M
mile to meter
MI2NMI
mile to nautical mile
MI2IN
mile to inch
MI2FT
mile to foot
MI2YD
mile to yard
MI2PICA
mile to pica


NMI2M
nautical mile to meter
NMI2MI
nautical mile to mile
NMI2IN
nautical mile to inch
NMI2FT
nautical mile to foot
NMI2YD
nautical mile to yard
NMI2PICA
nautical mile to pica


IN2M
inch to meter
IN2MI
inch to mile
IN2NMI
inch to nautical mile
IN2FT
inch to foot
IN2YD
inch to yard
IN2PICA
inch to pica


FT2M
foot to meter
FT2MI
foot to mile
FT2NMI
foot to nautical mile
FT2IN
foot to inch
FT2YD
foot to yard
FT2PICA
foot to pica


YD2M
yard to meter
YD2MI
yard to mile
YD2NMI
yard to nautical mile
YD2IN
yard to inch
YD2FT
yard to foot
YD2PICA
yard to pica


PICA2M
pica to meter
PICA2MI
pica to mile
PICA2NMI
pica to nautical mile
PICA2IN
pica to inch
PICA2FT
pica to foot
PICA2YD
pica to yard
Returns

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

Arguments

Type
Field
Description
double
dNumber
Quantity
16 bit DLL declarations

PowerBuilder Function declaration

function double MI2M(double dNumber) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function MI2M lib "IFL16" (ByVal dNumber As Double) As Double

C/C++ Synopsis

#include "function.h"

double MI2M(double dNumber)

32 bit DLL declarations

PowerBuilder Function declaration

function double MI2M(double dNumber) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function MI2M lib "IFL32" (ByVal dNumber As Double) As Double

C/C++ Synopsis

#include "function.h"

double MI2M(double dNumber)

Example:

dNumber
=
500

Result: 804,672