MCPcopy Create free account
hub / github.com/audacity/audacity / ToString

Method ToString

libraries/lib-strings/Internat.cpp:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126wxString Internat::ToString(double numberToConvert,
127 int digitsAfterDecimalPoint /* = -1 */)
128{
129 wxString result = ToDisplayString(
130 numberToConvert, digitsAfterDecimalPoint);
131
132 result.Replace(wxString(GetDecimalSeparator()), wxT("."));
133
134 return result;
135}
136
137wxString Internat::ToDisplayString(double numberToConvert,
138 int digitsAfterDecimalPoint /* = -1 */)

Callers

nothing calls this directly

Calls 1

wxStringClass · 0.70

Tested by

no test coverage detected