FastLED 3.9.15
Loading...
Searching...
No Matches

◆ appendFloat()

void fl::StringFormatter::appendFloat ( const float & val,
StrN< 64 > * dst )
static

Definition at line 275 of file str.cpp.

275 {
276 char buf[64] = {0};
277 string_functions::ftoa(val, buf);
278 dst->write(buf, strlen(buf));
279}
static void ftoa(float value, char *buffer, int precision=2)
Definition str.cpp:19

References fl::string_functions::ftoa(), and fl::StrN< SIZE >::write().

Referenced by fl::Str::append().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: