Qore Programming Language Reference Manual  0.8.7
 All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Number.dox.h
1 
2 namespace Qore {
4 
5 class <number> : public <value> {
6 
7 public:
9 
32 string format(string fmt);
33 
34 public:
36 
49 bool infp();
50 
51 public:
53 
66 bool intp();
67 
68 public:
70 
83 bool nanp();
84 
85 public:
87 
99 int prec();
100 
101 public:
103 
115 int sign();
116 
117 public:
119 
132 bool strp();
133 
134 public:
136 
145 string toString(int fmt);
146 
147 public:
149 
165 int typeCode();
166 
167 public:
169 
185 bool val();
186 };
190 
192  const NF_Default = QORE_NF_DEFAULT;
194 
200  const NF_Raw = QORE_NF_RAW;
202  const NF_Scientific = QORE_NF_SCIENTIFIC;
204 };