Oracle Forms - 문법 - Format Mask 사용법
Data가 숫자 일 경우 ERP에서는 오른쪽 정렬 그리고 사용자가 보기 편하게 콤마(,)를 찍어 줘야 한다.
A. 오른쪽 정렬 하고 싶으면
- 해당 item의 Property Palette 들어감
- Functional의 justification을 right로 설정
======================
B. 콤마(,) 찍고 싶으면
그룹화(천 단위) 구분 기호의 배치를 결정합니다.
사용되는 그룹화 구분 기호는 템플릿 로케일에 따라 런타임에 결정됩니다.
예: 형식 마스크: 9G999D99
데이터: 1234.56
영어 로케일용 표시: 1,234.56
독일어 로케일용 표시: 1.234,56
Formatting Numbers, Dates, and Currencies
To use the Oracle format mask or the Microsoft format mask, the numbers in the data source must be in a raw format, with no formatting applied (for example: 1000.00). If the number has been formatted for European countries (for example: 1.000,00) then the
docs.oracle.com
FM9G999G999G999G999G999G999G999G999G990 = FM9,999,999,999,999,999,999,999,999,990 => FM9G999G999
: 자릿수 달라짐 실행해보니 설정 9의 단위수가 작을때 결과값 숫자가 크면 #####으로 생성됨
G가 콤마 역할 =>FM 접두사: 반환 값에서 선행 또는 후행 공백을 제거합니다.