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

◆ append() [8/17]

basic_string & fl::basic_string::append ( const float & val,
int precision )

Definition at line 1393 of file basic_string.cpp.hpp.

1393 {
1394 char buf[64] = {0};
1395 fl::ftoa(val, buf, precision);
1396 write(buf, fl::strlen(buf));
1397 return *this;
1398}
fl::size write(const fl::u8 *data, fl::size n) FL_NOEXCEPT
size_t strlen(const char *s) FL_NOEXCEPT
void ftoa(float value, char *buffer, int precision)
Convert floating point number to string buffer.

References basic_string(), fl::ftoa(), fl::strlen(), and write().

+ Here is the call graph for this function: