Class NumberExtensionKt
-
- All Implemented Interfaces:
public final class NumberExtensionKt
-
-
Method Summary
Modifier and Type Method Description final static StringformatToLocalizedString(Integer $self, Locale locale)Format the Int to be displayed to the user based on the Locale. -
-
Method Detail
-
formatToLocalizedString
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final static String formatToLocalizedString(Integer $self, Locale locale)
Format the Int to be displayed to the user based on the Locale.
- Parameters:
locale- The locale the number will be formatted with.- Returns:
A formatted string displaying value.
-
-
-
-