PA_EvalReal

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_EvalReal (string) double

ParameterTypeDescription
stringchar *The string to convert in real
Function resultdoubleValue of the converted string

Description

The routine PA_EvalReal returns the value string once converted to a double.

This works like the Num 4th Dimension function. Refer to the 4D Language Reference manual for more information.

Depending on default settings or on previous calls to PA_UsePStrings or PA_UseCStrings, string must be a Pascal or a C string.

Example

   double   result;
   result = PA_EvalLongint("123456.78901");// result is now 123456.78901

See Also

Num, PA_EvalLongint.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next