Release 10.1A: OpenEdge Development:
Progress 4GL 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: INTEGER

> Access: Readable

> Applies to: Buffer-field object handle

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095