std.complex.complex.to_string
- multiple declarations
- Function Complex.toString
- Template Complex.toString
Function Complex.toString
Converts the complex
number to a string representation.
The second form of this function is usually not called directly; instead, it is used via std.string.format, as shown in the examples below. Supported format characters are 'e', 'f', 'g', 'a', and 's'.
See the std.format and std.string.format documentation for more information.
Prototype
string toString() const;
Template Complex.toString
Converts the complex
number to a string representation.
The second form of this function is usually not called directly; instead, it is used via std.string.format, as shown in the examples below. Supported format characters are 'e', 'f', 'g', 'a', and 's'.
See the std.format and std.string.format documentation for more information.
Arguments
template toString(Char);
Functions
Function name | Description |
---|---|
toString |
Authors
Lars Tandle Kyllingstad, Don Clugston