Money
    
    
      
    
    
      
      컬렉션을 사용해 정리하기
    
    
      
      내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        
          
            
              | JSON 표현 | 
            
          
          
            
              {
  "currencyCode": string,
  "units": string,
  "nanos": integer
} | 
            
          
        
      
      
        
          
            
            
          
          
            
              | 필드 | 
            
          
          
            
              currencyCode | 
              
                 string 
                ISO 4217에 정의된 3자리 통화 코드입니다. 
               | 
            
            
              units | 
              
                 string (int64 format) 
                금액의 전체 단위입니다. 예를 들어 currencyCode가 "USD"이면 단위 1개는 1달러(USD)입니다. 
               | 
            
            
              nanos | 
              
                 integer 
                금액의 나노 (10^-9) 단위 숫자입니다. 값은 -999,999,999 ~ +999,999,999(포함) 사이여야 합니다. units가 양수이면 nanos는 양수 또는 0이어야 합니다. units가 0이면 nanos은 양수, 0 또는 음수일 수 있습니다. units가 음수이면 nanos는 음수 또는 0이어야 합니다. 예를 들어 $-1.75는 units=-1, nanos=-750,000,000으로 나타냅니다. 
               | 
            
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
  최종 업데이트: 2025-07-26(UTC)
  
  
  
    
      [null,null,["최종 업데이트: 2025-07-26(UTC)"],[],["The core content defines a JSON structure for representing monetary amounts. It includes three fields: `currencyCode` (a string for the three-letter currency code), `units` (a string representing whole units of the currency), and `nanos` (an integer for the fractional nano-units).  The `nanos` value must adhere to constraints based on the sign of `units` and is used for precision in amounts. The amount value is based on those three elements.\n"]]