Searched refs:numberFormat (Results 1 – 10 of 10) sorted by relevance
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUNumericData.cpp | 51 DecimalFormat* numberFormat = dynamic_cast<DecimalFormat*>( in SetTo() local 55 if (!numberFormat) in SetTo() 58 = numberFormat->getDecimalFormatSymbols(); in SetTo() 75 int32 groupingSize = numberFormat->getGroupingSize(); in SetTo() 81 = numberFormat->getSecondaryGroupingSize(); in SetTo() 91 delete numberFormat; in SetTo()
|
/haiku/src/kits/shared/ |
H A D | StringForRate.cpp | 50 BNumberFormat numberFormat; in string_for_rate() local 51 numberFormat.SetPrecision(index == 0 ? 0 : 2); in string_for_rate() 52 numberFormat.Format(printedRate, rate); in string_for_rate()
|
H A D | StringForSize.cpp | 51 BNumberFormat numberFormat; in string_for_size() local 52 numberFormat.SetPrecision(index == 0 ? 0 : 2); in string_for_size() 53 numberFormat.Format(printedSize, size); in string_for_size()
|
/haiku/src/tests/kits/locale/ |
H A D | NumberFormatTest.cpp | 54 BNumberFormat numberFormat(&turkishLocale); in _TestGeneralPercent() local 59 status_t result = numberFormat.FormatPercent(output, input); in _TestGeneralPercent()
|
/haiku/src/preferences/locale/ |
H A D | FormatSettingsView.cpp | 381 BNumberFormat numberFormat; in _UpdateExamples() local 409 status_t status = numberFormat.Format(result, 1234.56); in _UpdateExamples() 415 status = numberFormat.Format(result, -1234.56); in _UpdateExamples() 421 status = numberFormat.FormatMonetary(result, 1234.56); in _UpdateExamples() 427 status = numberFormat.FormatMonetary(result, -1234.56); in _UpdateExamples()
|
/haiku/src/apps/showimage/ |
H A D | ShowImageStatusView.cpp | 178 BNumberFormat numberFormat; in _SetZoomText() local 180 numberFormat.FormatPercent(data, zoom); in _SetZoomText()
|
/haiku/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 432 BNumberFormat numberFormat; in _SetLabel() local 435 if (numberFormat.FormatPercent(data, fPercent) != B_OK) { in _SetLabel() 493 BNumberFormat numberFormat; in Update() local 497 if (numberFormat.FormatPercent(data, fPercent) != B_OK) { in Update()
|
/haiku/src/servers/notification/ |
H A D | NotificationView.cpp | 99 BNumberFormat numberFormat; in NotificationView() local 103 if (numberFormat.FormatPercent(label, progressPercent) != B_OK) in NotificationView()
|
/haiku/src/apps/haikudepot/ui/ |
H A D | PackageListView.cpp | 48 static BNumberFormat numberFormat; in package_state_to_string() local 63 if (numberFormat.FormatPercent(data, fraction) != B_OK) { in package_state_to_string()
|
/haiku/src/kits/tracker/ |
H A D | WidgetAttributeText.cpp | 106 BNumberFormat numberFormat; in TruncFileSizeBase() local 107 BString separator(numberFormat.GetSeparator(B_DECIMAL_SEPARATOR)); in TruncFileSizeBase()
|