Content


NTL
Core
ToFixed

ToFixed


Convert floating point value into unicode string representation with specified number of digits after point.

"signs" should be in range 0..9. If a value out of this range is specified it will be adjusted to fit the range.

String ToFixed(const float value, const int signs = 6);
String ToFixed(const double value, const int signs = 6);
Namespace: nitisa
Include: Nitisa/Core/Strings.h