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

◆ append() [4/11]

Str & fl::Str::append ( const float & val)
inline

Definition at line 422 of file str.h.

422 {
423 int32_t i = static_cast<int32_t>(val * 100);
424 // append the integer part
425 append(i / 100);
426 append(".");
427 // append the decimal part
428 append(i % 100);
429 return *this;
430 }
Str & append(const char *str)
Definition str.h:409

References Str(), and append().

+ Here is the call graph for this function: