Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Digit Length Limits for Number Fields in Salesforce

게시 일자: Jan 20, 2026
상세 설명

This article explains how digits are counted in Number fields when both integer and decimal values are used.

In Salesforce, Number fields are defined by two key settings:

  • Length (total number of digits)
  • Decimal Places (number of digits to the right of the decimal point)

A common question is: “When a number includes decimals, how are the total digits calculated?”

The total digit count includes all digits, both before and after the decimal point. The decimal separator itself is not counted.

For example:

  • A value like 123.45 contains 5 digits (not 6)
  • A field defined with Length = 5 and Decimal Places = 2 can store this value
솔루션

This section explains the digit limits for Number fields in Salesforce and how Length and Decimal Places must be configured together.

Digit Limits

  • Number fields can store up to a maximum of 18 digits total
  • This total includes both integer and decimal digits

Field Configuration Rules

  • The sum of Length and Decimal Places must not exceed 18 digits
  • The Length value must be at least 1

Decimal Limits

  • Because Length must be at least 1, the maximum number of decimal places that can be configured is 17 digits

Additional Information

When designing number fields, ensure the configuration supports the largest expected values. For example, financial or scientific data may require careful balancing between integer size and decimal precision.

Knowledge 기사 번호

000386249

 
로드 중
Salesforce Help | Article