Home
last modified time | relevance | path

Searched refs:numberFormat (Results 1 – 10 of 10) sorted by relevance

/haiku/src/system/libroot/add-ons/icu/
H A DICUNumericData.cpp51 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 DStringForRate.cpp50 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 DStringForSize.cpp51 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 DNumberFormatTest.cpp54 BNumberFormat numberFormat(&turkishLocale); in _TestGeneralPercent() local
59 status_t result = numberFormat.FormatPercent(output, input); in _TestGeneralPercent()
/haiku/src/preferences/locale/
H A DFormatSettingsView.cpp381 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 DShowImageStatusView.cpp178 BNumberFormat numberFormat; in _SetZoomText() local
180 numberFormat.FormatPercent(data, zoom); in _SetZoomText()
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp432 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 DNotificationView.cpp99 BNumberFormat numberFormat; in NotificationView() local
103 if (numberFormat.FormatPercent(label, progressPercent) != B_OK) in NotificationView()
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp48 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 DWidgetAttributeText.cpp106 BNumberFormat numberFormat; in TruncFileSizeBase() local
107 BString separator(numberFormat.GetSeparator(B_DECIMAL_SEPARATOR)); in TruncFileSizeBase()