|
![]() |
![]() |
version 2003
PA_EvalReal (string) → double
Parameter | Type | Description | |
string | char * | → | The string to convert in real |
Function result | double | ← | Value 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
always returns
eER_NoErr