API Documentation
Loading...
Searching...
No Matches
NumberWriter Class Reference

#include <NumberWriter.h>

Public Types

enum  flt_to_string { DTOSTR_NORMAL , DTOSTR_FIXED , DTOSTR_PRECISION , DTOSTR_EXPONENTIAL }
 

Static Public Member Functions

template<class t_type >
static constexpr void writeInt (String &string, t_type initial_value)
 
template<class t_type >
static constexpr void writeHex (String &string, t_type initial_value)
 
static void writeFloat (String &string, fltp08 value, flt_to_string mode=DTOSTR_NORMAL, uint01 precision=10)
 

Member Enumeration Documentation

◆ flt_to_string

Enumerator
DTOSTR_NORMAL 
DTOSTR_FIXED 
DTOSTR_PRECISION 
DTOSTR_EXPONENTIAL 

Member Function Documentation

◆ writeFloat()

static void writeFloat ( String & string,
fltp08 value,
flt_to_string mode = DTOSTR_NORMAL,
uint01 precision = 10 )
inlinestatic

◆ writeHex()

template<class t_type >
static constexpr void writeHex ( String & string,
t_type initial_value )
inlinestaticconstexpr

◆ writeInt()

template<class t_type >
static constexpr void writeInt ( String & string,
t_type initial_value )
inlinestaticconstexpr

The documentation for this class was generated from the following file: