XPRBsetdecsign


Purpose
Select the decimal sign for data input.
Synopsis
int XPRBsetdecsign(char sign);
Argument
sign 
The decimal sign to be used. This is typically '.' (default), or ','.
Return value
0 if function executed successfully, 1 otherwise.
Example
XPRBsetdecsign(',');
This switches to using a comma as the decimal point.
Further information
By default, BCL uses the Anglo-American decimal point when reading and writing real numbers. With this function the decimal sign accepted by the data input functions XPRBreadlinecb and XPRBreadarrlinecb can be changed to a comma or any other non-numerical ASCII character. Note that all output still contains the decimal point.
Related topics
XPRBreadarrlinecb, XPRBreadlinecb.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.