#include <Numeric.h>
Definition at line 214 of file Numeric.h.
◆ Decimal() [1/9]
◆ Decimal() [2/9]
| Decimal::Decimal |
( |
const Decimal & | _value | ) |
|
|
inline |
◆ Decimal() [3/9]
| Decimal::Decimal |
( |
int32_t | _n | ) |
|
|
inline |
◆ Decimal() [4/9]
| Decimal::Decimal |
( |
uint32_t | _u | ) |
|
|
inline |
◆ Decimal() [5/9]
| Decimal::Decimal |
( |
int64_t | _n | ) |
|
|
inline |
◆ Decimal() [6/9]
| Decimal::Decimal |
( |
uint64_t | _u | ) |
|
|
inline |
◆ Decimal() [7/9]
| Decimal::Decimal |
( |
float | f | ) |
|
|
inline |
◆ Decimal() [8/9]
| Decimal::Decimal |
( |
double | d | ) |
|
|
inline |
◆ Decimal() [9/9]
| Decimal::Decimal |
( |
const String & | strNumber | ) |
|
|
inline |
◆ assign()
| void Decimal::assign |
( |
const wchar_t * | _number, |
|
|
int | _n ) |
|
inline |
◆ operator=() [1/8]
Definition at line 218 of file Numeric.inl.
219{
221 return *this;
222}
◆ operator=() [2/8]
| const Decimal & Decimal::operator= |
( |
const String & | strNumber | ) |
|
|
inline |
Definition at line 270 of file Numeric.inl.
271{
273 return *this;
274}
◆ operator=() [3/8]
| const Decimal & Decimal::operator= |
( |
double | _value | ) |
|
Definition at line 993 of file Numeric.cpp.
994{
995 __value = __GetDecimalString(_value);
996 return *this;
997}
◆ operator=() [4/8]
| const Decimal & Decimal::operator= |
( |
float | _value | ) |
|
Definition at line 987 of file Numeric.cpp.
988{
989 __value = __GetDecimalString(_value);
990 return *this;
991}
◆ operator=() [5/8]
| const Decimal & Decimal::operator= |
( |
int32_t | _n | ) |
|
|
inline |
Definition at line 246 of file Numeric.inl.
247{
249 return *this;
250}
String toString(unsigned _base=10) const
◆ operator=() [6/8]
| const Decimal & Decimal::operator= |
( |
int64_t | _n | ) |
|
|
inline |
Definition at line 258 of file Numeric.inl.
259{
261 return *this;
262}
String toString(unsigned _base=10) const
◆ operator=() [7/8]
| const Decimal & Decimal::operator= |
( |
uint32_t | _u | ) |
|
|
inline |
Definition at line 252 of file Numeric.inl.
253{
255 return *this;
256}
String toString(unsigned _base=10) const
◆ operator=() [8/8]
| const Decimal & Decimal::operator= |
( |
uint64_t | _u | ) |
|
|
inline |
Definition at line 264 of file Numeric.inl.
265{
267 return *this;
268}
String toString(unsigned _base=10) const
◆ toString() [1/2]
| String Decimal::toString |
( |
| ) |
const |
|
inline |
◆ toString() [2/2]
| String Decimal::toString |
( |
const Decimal & | _value | ) |
|
|
static |
◆ toStringF() [1/2]
| String Decimal::toStringF |
( |
const char * | pszDecimalFormat = NULL | ) |
const |
|
inline |
Definition at line 281 of file Numeric.inl.
284{
286}
String toStringF(const char *pszDecimalFormat=NULL) const
◆ toStringF() [2/2]
| String Decimal::toStringF |
( |
const Decimal & | _value, |
|
|
const char * | pszDecimalFormat = NULL ) |
|
static |
Definition at line 999 of file Numeric.cpp.
1002{
1003#if 0
1004 if (!pszDecimalFormat)
1006
1008
1009 return formatDecimalString(
1011 pszDecimalFormat
1012 );
1013#endif
1014 return String();
1015}
#define __DCL_ASSERT(expr)
static const char * FORMAT_STRING
◆ __value
◆ FORMAT_STRING
| const char * Decimal::FORMAT_STRING = "#,###.####" |
|
static |
The documentation for this class was generated from the following files: