

CNVRT_DIST() - Convert distances
| Meter
| M
|
| Mile
| MI
|
| Nautical mile
| NM
|
| Inch
| IN
|
| Foot
| FT
|
| Yard
| YD
|
| Pica
| PICA
|
Double value if successful. If an error occurs, this function returns a zero.
Arguments
| Type
| Field
| Description
|
| double
| dNumber
| Quantity
|
| string
| dFrom
| Convert from
|
| string
| dTo
| Convert to
|
PowerBuilder Function declaration
function double CNVRT_DIST(double dNumber, string dFrom, string dTo) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function CNVRT_DIST lib "IFL16" (ByVal dNumber As Double, ByVal dFrom As String, ByVal dTo As String) As Double
C/C++ Synopsis
#include "function.h"
double CNVRT_DIST(double dNumber, LPSTR dFrom, LPSTR dTo)
32 bit DLL declarations
PowerBuilder Function declaration
function double CNVRT_DIST(double dNumber, string dFrom, string dTo) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function CNVRT_DIST lib "IFL32" (ByVal dNumber As Double, ByVal dFrom As String, ByVal dTo As String) As Double
C/C++ Synopsis
#include "function.h"
double CNVRT_DIST(double dNumber, LPSTR dFrom, LPSTR dTo)
Example:
| dNumber
| =
| 500
|
|
| dFrom
| =
| mi
|
|
| dTo
| =
| m
|
|