str()
Data / ConversionDescription
Converts an int, float, bool, or char to a std::string.
Syntax
std::string str(int v)
std::string str(float v)
std::string str(bool v)
std::string str(char v)
Parameters
| Name | Type | Description |
|---|---|---|
| v | any | value to convert |
Returns
std::stringRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...