File: Poco.NumberFormatter.html

package info (click to toggle)
poco-doc 1.3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,096 kB
  • sloc: makefile: 9
file content (392 lines) | stat: -rw-r--r-- 34,414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Class Poco::NumberFormatter</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.html" class="namespace">Poco</a></h1>
<h1 class="symbol">class NumberFormatter</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Foundation<br />
<b>Package:</b> Core<br />
<b>Header:</b> Poco/NumberFormatter.h</p>
<h2>Description</h2>
<div class="description">
<p>The <a href="Poco.NumberFormatter.html" title="class Poco::NumberFormatter">NumberFormatter</a> class provides static methods for formatting numeric values into strings. </p>
<p>There are two kind of static member functions: </p>
<ul>
<li>format* functions return a std::string containing the formatted value. </li>
<li>append* functions append the formatted value to an existing string. </li>
</ul>
<p>Internally, std::sprintf() is used to do the actual formatting. </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.NumberFormatter.html#8962" title="Poco::NumberFormatter::append()">append</a>, <a href="Poco.NumberFormatter.html#8969" title="Poco::NumberFormatter::append0()">append0</a>, <a href="Poco.NumberFormatter.html#8973" title="Poco::NumberFormatter::appendHex()">appendHex</a>, <a href="Poco.NumberFormatter.html#8871" title="Poco::NumberFormatter::format()">format</a>, <a href="Poco.NumberFormatter.html#8876" title="Poco::NumberFormatter::format0()">format0</a>, <a href="Poco.NumberFormatter.html#8879" title="Poco::NumberFormatter::formatHex()">formatHex</a></p>
<h2>Member Functions</h2>
<h3><a name="8962">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;int value<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation. </p>
</div>
<h3><a name="8965">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8980">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value<br />);</p>
<div class="description">
<p>Formats an unsigned int value in decimal notation. </p>
</div>
<h3><a name="8983">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long int in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8998">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;long value<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation. </p>
</div>
<h3><a name="9001">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation, right justified in a field having at least the  specified width. </p>
</div>
<h3><a name="9016">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation. </p>
</div>
<h3><a name="9019">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation, right justified in a field having at least the specified  width. </p>
</div>
<h3><a name="9034">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation. </p>
</div>
<h3><a name="9037">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="9052">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation. </p>
</div>
<h3><a name="9055">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="9070">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;float value<br />);</p>
<div class="description">
<p>Formats a float value in decimal floating-point notation, according to std::printf's %g format with a precision of 8 fractional digits. </p>
</div>
<h3><a name="9073">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;double value<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, according to std::printf's %g format with a precision of 16 fractional digits. </p>
</div>
<h3><a name="9076">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;double value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int precision<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, according to std::printf's %f format with the given precision. </p>
</div>
<h3><a name="9080">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;double value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width,<br />&nbsp;&nbsp;&nbsp;&nbsp;int precision<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, right justified in a field of the specified width, with the number of fractional digits given in precision. </p>
</div>
<h3><a name="9085">append</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;const void * ptr<br />);</p>
<div class="description">
<p>Formats a pointer in an eight (32-bit architectures) or sixteen (64-bit architectures) characters wide field in hexadecimal notation. </p>
</div>
<h3><a name="8969">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="8987">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned int value in decimal notation,  right justified and zero-padded in a field having at  least the specified width. </p>
</div>
<h3><a name="9005">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="9023">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="9041">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation,  right justified and zero-padded in a field having at least  the specified width. </p>
</div>
<h3><a name="9059">append0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void append0(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation,  right justified and zero-padded in a field having at least the  specified width. </p>
</div>
<h3><a name="8973">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;int value<br />);</p>
<div class="description">
<p>Formats an int value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="8976">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="8991">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value<br />);</p>
<div class="description">
<p>Formats an unsigned int value in hexadecimal notation. </p>
</div>
<h3><a name="8994">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="9009">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="9012">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the  specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="9027">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation. </p>
</div>
<h3><a name="9030">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the  specified width. </p>
</div>
<h3><a name="9045">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="9048">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least  the specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="9063">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation. </p>
</div>
<h3><a name="9066">appendHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static void appendHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; str,<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least  the specified width. </p>
</div>
<h3><a name="8871">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;int value<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation. </p>
</div>
<h3><a name="8873">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8884">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value<br />);</p>
<div class="description">
<p>Formats an unsigned int value in decimal notation. </p>
</div>
<h3><a name="8886">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long int in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8897">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;long value<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation. </p>
</div>
<h3><a name="8899">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation, right justified in a field having at least the  specified width. </p>
</div>
<h3><a name="8910">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation. </p>
</div>
<h3><a name="8912">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation, right justified in a field having at least the specified  width. </p>
</div>
<h3><a name="8923">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation. </p>
</div>
<h3><a name="8925">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8936">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation. </p>
</div>
<h3><a name="8938">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation, right justified in a field having at least the specified width. </p>
</div>
<h3><a name="8949">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;float value<br />);</p>
<div class="description">
<p>Formats a float value in decimal floating-point notation, according to std::printf's %g format with a precision of 8 fractional digits. </p>
</div>
<h3><a name="8951">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;double value<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, according to std::printf's %g format with a precision of 16 fractional digits. </p>
</div>
<h3><a name="8953">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;double value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int precision<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, according to std::printf's %f format with the given precision. </p>
</div>
<h3><a name="8956">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;double value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width,<br />&nbsp;&nbsp;&nbsp;&nbsp;int precision<br />);</p>
<div class="description">
<p>Formats a double value in decimal floating-point notation, right justified in a field of the specified width, with the number of fractional digits given in precision. </p>
</div>
<h3><a name="8960">format</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format(<br />&nbsp;&nbsp;&nbsp;&nbsp;const void * ptr<br />);</p>
<div class="description">
<p>Formats a pointer in an eight (32-bit architectures) or sixteen (64-bit architectures) characters wide field in hexadecimal notation. </p>
</div>
<h3><a name="8876">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an integer value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="8889">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned int value in decimal notation,  right justified and zero-padded in a field having at  least the specified width. </p>
</div>
<h3><a name="8902">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a long value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="8915">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in decimal notation,  right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="8928">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in decimal notation,  right justified and zero-padded in a field having at least  the specified width. </p>
</div>
<h3><a name="8941">format0</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string format0(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned 64-bit integer value in decimal notation,  right justified and zero-padded in a field having at least the  specified width. </p>
</div>
<h3><a name="8879">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;int value<br />);</p>
<div class="description">
<p>Formats an int value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="8881">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;int value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="8892">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value<br />);</p>
<div class="description">
<p>Formats an unsigned int value in hexadecimal notation. </p>
</div>
<h3><a name="8894">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a int value in hexadecimal notation, right justified and zero-padded in a field having at least the specified width. </p>
</div>
<h3><a name="8905">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="8907">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the  specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="8918">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation. </p>
</div>
<h3><a name="8920">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;unsigned long value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats an unsigned long value in hexadecimal notation, right justified and zero-padded in a field having at least the  specified width. </p>
</div>
<h3><a name="8931">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation. The value is treated as unsigned. </p>
</div>
<h3><a name="8933">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least  the specified width. The value is treated as unsigned. </p>
</div>
<h3><a name="8944">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation. </p>
</div>
<h3><a name="8946">formatHex</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">static std::string formatHex(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br />&nbsp;&nbsp;&nbsp;&nbsp;int width<br />);</p>
<div class="description">
<p>Formats a 64-bit integer value in hexadecimal notation, right justified and zero-padded in a field having at least  the specified width. </p>
</div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright &copy; 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>

</div>
</body>
</html>