Progress
Language Reference
DECIMALS Attribute
Indicates the number of decimal places, after the decimal point, that are stored for a buffer-field object that corresponds to a DECIMAL field. If the value of DECIMALS is nonzero, Progress rounds off any source that you assign to BUFFER-VALUE to the specified number of decimal places before completing the assignment. Otherwise, the assignment executes without rounding off the source value.
NOTE: Progress determines the number of decimal places to display, as opposed to store, from the FORMAT attribute (not the DECIMALS attribute) of the buffer-field.Data Type: INTEGERAccess: ReadableApplies To: Buffer-field Object Handle
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |