#include <string_base.h>
Definition at line 643 of file string_base.h.
pfc::format_fixedpoint::format_fixedpoint |
( |
t_int64 |
p_val, |
|
|
unsigned |
p_point |
|
) |
| |
Definition at line 597 of file string_base.cpp.
600 for(
unsigned n=0;n<p_point;n++) div *= 10;
602 if (p_val < 0) {
m_buffer <<
"-";p_val = -p_val;}
605 m_buffer << format_int(p_val / div) <<
"." << format_int(p_val % div, p_point);
const char* pfc::format_fixedpoint::get_ptr |
( |
| ) |
const |
|
inline |
pfc::format_fixedpoint::operator const char * |
( |
| ) |
const |
|
inline |
const char* pfc::format_fixedpoint::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: