Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
  
  
android.icu.number
  
  
  
    Classes
    
  
  
    
      
        | CompactNotation | 
        
          A class that defines the scientific notation style to be used when formatting numbers in
 NumberFormatter. 
          
    
         | 
      
      
    
      
        | CurrencyPrecision | 
        
          A class that defines a rounding strategy parameterized by a currency to be used when formatting
 numbers in NumberFormatter. 
          
    
         | 
      
      
    
      
        | FormattedNumber | 
        
          The result of a number formatting operation. 
          
    
         | 
      
      
    
      
        | FormattedNumberRange | 
        
          The result of a number range formatting operation. 
          
    
         | 
      
      
    
      
        | FractionPrecision | 
        
          A class that defines a rounding strategy based on a number of fraction places and optionally
 significant digits to be used when formatting numbers in NumberFormatter. 
          
    
         | 
      
      
    
      
        | IntegerWidth | 
        
          A class that defines the strategy for padding and truncating integers before the decimal separator. 
          
    
         | 
      
      
    
      
        | LocalizedNumberFormatter | 
        
          A NumberFormatter that has a locale associated with it; this means .format() methods are available. 
          
    
         | 
      
      
    
      
        | LocalizedNumberRangeFormatter | 
        
          A NumberRangeFormatter that has a locale associated with it; this means .formatRange() methods are available. 
          
    
         | 
      
      
    
      
        | Notation | 
        
          A class that defines the notation style to be used when formatting numbers in NumberFormatter. 
          
    
         | 
      
      
    
      
        | NumberFormatter | 
        
          All-in-one formatter for localized numbers, currencies, and units. 
          
    
         | 
      
      
    
      
        | NumberFormatterSettings<T extends NumberFormatterSettings<?>> | 
        
          An abstract base class for specifying settings related to number formatting. 
          
    
         | 
      
      
    
      
        | NumberRangeFormatter | 
        
          The main entrypoint to the formatting of ranges of numbers, including currencies and other units of measurement. 
          
    
         | 
      
      
    
      
        | NumberRangeFormatterSettings<T extends NumberRangeFormatterSettings<?>> | 
        
          An abstract base class for specifying settings related to number formatting. 
          
    
         | 
      
      
    
      
        | Precision | 
        
          A class that defines the rounding precision to be used when formatting numbers in NumberFormatter. 
          
    
         | 
      
      
    
      
        | Scale | 
        
          A class that defines a quantity by which a number should be multiplied when formatting. 
          
    
         | 
      
      
    
      
        | ScientificNotation | 
        
          A class that defines the scientific notation style to be used when formatting numbers in
 NumberFormatter. 
          
    
         | 
      
      
    
      
        | SimpleNotation | 
        
          A class that defines the simple notation style to be used when formatting numbers in NumberFormatter. 
          
    
         | 
      
      
    
      
        | UnlocalizedNumberFormatter | 
        
          A NumberFormatter that does not yet have a locale. 
          
    
         | 
      
      
    
      
        | UnlocalizedNumberRangeFormatter | 
        
          A NumberRangeFormatter that does not yet have a locale. 
          
    
         | 
      
      
    
  
  
  
    Enums
    
  
  
  
  
  
 
 
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]