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

Logic for writing to a number. More...

#include <NumberWriter.h>

Public Types

enum  flt_to_string { DTOSTR_NORMAL , DTOSTR_FIXED , DTOSTR_PRECISION , DTOSTR_EXPONENTIAL }
 

Static Public Member Functions

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

Detailed Description

Logic for writing to a number.


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: