Archived:Internationalising real numbers in Symbian C++
This code snippet is one of the series of snippets that demonstrate how to implement support for international diversity. This snippet shows how to format a real number according to the locale settings of the device.
// Buffer for localized text
// The amount to format
TReal myAmount = 1234.56789;
// Real number formatter, initialized with system's current locale
// Format the number with the decimal separator setting of the
// current locale
A real number is formatted according to the locale settings of the device.