JVCL Help:TJvCustomSpinEdit.Decimal
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomSpinEdit.Decimal Property
[+] TJvCustomSpinEdit Fields
[+] TJvCustomSpinEdit Methods
[+] TJvCustomSpinEdit Properties
Search in JVCL Help
Search in all projectsSummary
Specifies the precision for the floating-point value.
Pascal
propertyDecimal: Byte;
Description
Use Decimal to set the number of digits beyond the decimal point that the floating-point value of the control should be formatted to before rounding begins.
Use DisplayFormat to change the format of the floating-point value when it is displayed as a text string in the edit box, but note that Decimal may also affect that displayed text string:
Entered value | DisplayFormat | Decimal | Displayed text string | Stored value |
0.1234 | 0.### | 2 | 0.12 | 0.12 |
0.1234 | 0.### | 3 | 0.123 | 0.123 |
0.1234 | 0.### | 4 | 0.123 | 0.1234 |
0.1234 | 0.#### | 4 | 0.1234 | 0.1234 |
See Also
TJvCustomSpinEdit.DisplayFormat
About
Notes
Decimal affects the actual floating-point value that is stored in the control.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page