<!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 /> std::string & str,<br /> 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 /> std::string & str,<br /> int value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> unsigned value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> long value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> unsigned long value,<br /> 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 /> std::string & str,<br /> <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 /> std::string & str,<br /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> std::string & str,<br /> <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 /> std::string & str,<br /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> double value,<br /> 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 /> std::string & str,<br /> double value,<br /> int width,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> int value,<br /> 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 /> std::string & str,<br /> unsigned int value,<br /> 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 /> std::string & str,<br /> long value,<br /> 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 /> std::string & str,<br /> unsigned long value,<br /> 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 /> std::string & str,<br /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> std::string & str,<br /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> int value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> unsigned value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> long value,<br /> 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 /> std::string & str,<br /> 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 /> std::string & str,<br /> unsigned long value,<br /> 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 /> std::string & str,<br /> <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 /> std::string & str,<br /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> std::string & str,<br /> <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 /> std::string & str,<br /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 /> 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 /> int value,<br /> 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 /> 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 /> unsigned value,<br /> 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 /> 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 /> long value,<br /> 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 /> 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 /> unsigned long value,<br /> 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 /> <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 /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> <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 /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 /> 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 /> 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 /> double value,<br /> 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 /> double value,<br /> int width,<br /> 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 /> 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 /> int value,<br /> 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 /> unsigned int value,<br /> 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 /> long value,<br /> 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 /> unsigned long value,<br /> 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 /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 /> 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 /> int value,<br /> 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 /> 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 /> unsigned value,<br /> 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 /> 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 /> long value,<br /> 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 /> 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 /> unsigned long value,<br /> 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 /> <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 /> <a href="Poco.html#11357" title="Poco::Int64">Int64</a> value,<br /> 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 /> <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 /> <a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> value,<br /> 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 © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>