Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

utils.cpp File Reference

#include <math.h>
#include <strstream.h>
#include "../include/utils.h"

Include dependency graph for utils.cpp:

Include dependency graph

Functions

double exp10 (double arg)
float exp10 (float arg)
double exp10 (int arg)
wxString GetFormatted (const double val, int P, const int W, const bool IsInteger)

Function Documentation

double exp10 int  arg  )  [inline]
 

float exp10 float  arg  )  [inline]
 

double exp10 double  arg  )  [inline]
 

Utility functions used by GetFormatted()

wxString GetFormatted const double  val,
int  P,
const int  W,
const bool  IsInteger
 

returns val in string form, formatted

Parameters:
val value tobe formatted
P : number of decimals in the returned formatted value
W : total width of the returned formatted value
IsInteger : forced integer format flag
Returns:
val in string form, formatted


Generated on Tue Dec 23 10:24:12 2003 for xps4xps by doxygen 1.3.5