1 -- File: OSD_Real2String.cdl
2 -- Created: Fri Jan 25 12:55:44 2002
3 -- Author: doneux <doneux@samcef.com>
5 class Real2String from OSD
7 ---Purpose: Convertion of CString to Real and reciprocally
12 returns Real2String from OSD;
16 aString:out PCharacter)
19 -- Converts aReal into aCstring in exponential format with maximum
20 -- 17 digits. The size of the destination string must be sufficient (at least 23 characters)
21 -- The decimal separator account for locale setting, but
22 -- neither thousand separator nor grouping of digits in the output string.
25 CStringToReal(me: in out;
27 aReal: out Real) returns Boolean ;
29 -- Converts aCstring representing a real. The first occurence of the decimal separator
30 -- (comma or period) defines it values for further readings.
31 -- Neither thousand separator nor grouping of digits are allowed in the CString
35 myReadDecimalPoint: Integer from Standard;
36 myLocalDecimalPoint: Integer from Standard;