RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Double Class Reference

表示双精度浮点值 More...

Inheritance diagram for System::Double:
System::Generic::Arithmetic< double >

Public Member Functions

 Double (double i=0)
 
 Double (const Double &c)
 
String ToString (LPCTSTR _Format=_T("%lf"), intptr_t _Length=16) const
 将双精度浮点值转换为字符串形式 More...
 
- Public Member Functions inherited from System::Generic::Arithmetic< double >
 Arithmetic (const double &t=0)
 
 Arithmetic (const Arithmetic &c)
 
 operator double & ()
 
 operator const double () const
 
Arithmeticoperator= (const double &t)
 
Arithmeticoperator+= (const double &t)
 
Arithmeticoperator-= (const double &t)
 
Arithmeticoperator*= (const double &t)
 
Arithmeticoperator/= (const double &t)
 
const Arithmetic operator+ (const double &t) const
 
const Arithmetic operator- (const double &t) const
 
const Arithmetic operator* (const double &t) const
 
const Arithmetic operator/ (const double &t) const
 
Arithmeticoperator++ ()
 
Arithmetic operator++ (int)
 
Arithmeticoperator-- ()
 
Arithmetic operator-- (int)
 

Static Public Member Functions

static double TryParse (const wchar_t *s)
 将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值 More...
 
static double TryParse (const char *s)
 将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值 More...
 
static double TryParse (const wchar_t *s, wchar_t **_end)
 将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值 More...
 
static double TryParse (const char *s, char **_end)
 将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值 More...
 

Public Attributes

 RLIB_DECLARE_DYNCREATE
 
- Public Attributes inherited from System::Generic::Arithmetic< double >
double m_var
 

Detailed Description

表示双精度浮点值

Member Function Documentation

String System::Double::ToString ( LPCTSTR  _Format = _T("%lf"),
intptr_t  _Length = 16 
) const
inline

将双精度浮点值转换为字符串形式

static double System::Double::TryParse ( const wchar_t *  s)
inlinestatic

将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值

static double System::Double::TryParse ( const char *  s)
inlinestatic

将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值

static double System::Double::TryParse ( const wchar_t *  s,
wchar_t **  _end 
)
inlinestatic

将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值

static double System::Double::TryParse ( const char *  s,
char **  _end 
)
inlinestatic

将双精度浮点值的字符串表示形式转换为它的等效双精度浮点值


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