#include <Numeric.h>
Definition at line 196 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 212 of file Numeric.inl.
213{
215 return *this;
216}
◆ operator=() [2/8]
const Decimal & Decimal::operator= |
( |
const String & | strNumber | ) |
|
|
inline |
Definition at line 264 of file Numeric.inl.
265{
267 return *this;
268}
◆ operator=() [3/8]
const Decimal & Decimal::operator= |
( |
double | value | ) |
|
Definition at line 972 of file Numeric.cpp.
973{
974 m_value = __GetDecimalString(value);
975 return *this;
976}
◆ operator=() [4/8]
const Decimal & Decimal::operator= |
( |
float | value | ) |
|
Definition at line 966 of file Numeric.cpp.
967{
968 m_value = __GetDecimalString(value);
969 return *this;
970}
◆ operator=() [5/8]
const Decimal & Decimal::operator= |
( |
int32_t | _n | ) |
|
|
inline |
Definition at line 240 of file Numeric.inl.
241{
243 return *this;
244}
String toString(unsigned _base=10) const
◆ operator=() [6/8]
const Decimal & Decimal::operator= |
( |
int64_t | _n | ) |
|
|
inline |
Definition at line 252 of file Numeric.inl.
253{
255 return *this;
256}
String toString(unsigned _base=10) const
◆ operator=() [7/8]
const Decimal & Decimal::operator= |
( |
uint32_t | _u | ) |
|
|
inline |
Definition at line 246 of file Numeric.inl.
247{
249 return *this;
250}
String toString(unsigned _base=10) const
◆ operator=() [8/8]
const Decimal & Decimal::operator= |
( |
uint64_t | _u | ) |
|
|
inline |
Definition at line 258 of file Numeric.inl.
259{
261 return *this;
262}
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 275 of file Numeric.inl.
278{
280}
String toStringF(const char *pszDecimalFormat=NULL) const
◆ toStringF() [2/2]
String Decimal::toStringF |
( |
const Decimal & | value, |
|
|
const char * | pszDecimalFormat = NULL ) |
|
static |
Definition at line 978 of file Numeric.cpp.
981{
982#if 0
983 if (!pszDecimalFormat)
985
987
988 return formatDecimalString(
990 pszDecimalFormat
991 );
992#endif
993 return String();
994}
#define __DCL_ASSERT(expr)
static const char * FORMAT_STRING
◆ FORMAT_STRING
const char * Decimal::FORMAT_STRING = "#,###.####" |
|
static |
◆ m_value
The documentation for this class was generated from the following files: