Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
OSD_Real2String Class Reference

Convertion of CString to Real and reciprocally

#include <OSD_Real2String.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC OSD_Real2String ()
Standard_Boolean RealToCString (const Standard_Real aReal, Standard_PCharacter &aString) const
 Converts aReal into aCstring in exponential format with maximum
17 digits. The size of the destination string must be sufficient (at least 23 characters)
The decimal separator account for locale setting, but
neither thousand separator nor grouping of digits in the output string.


Standard_Boolean CStringToReal (const Standard_CString aString, Standard_Real &aReal)
 Converts aCstring representing a real. The first occurence of the decimal separator
(comma or period) defines it values for further readings.
Neither thousand separator nor grouping of digits are allowed in the CString


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: