JVCL Help:TJvSpinEdit.DisplayFormat

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the format for the displayed number.


Pascal

 propertyDisplayFormat: string;


Description

Use DisplayFormat to specify a custom format string for the number display. Note that DisplayFormat is only used when the control has no focus. The value of DisplayFormat does not affect the actual stored floating-point value. See Delphi help at FormatFloat to view which format specifiers are supported in the format string.


See Also

TJvCustomSpinEdit.Decimal


About

Notes

Ensure that Decimal is large enough for the DisplayFormat. For example, if DisplayFormat is '0.###' then Decimal must be minimal 3.

Unlike FormatFloat, DisplayFormat takes no notice of a comma ',' in its string. To achieve a number with commas as thousands separators, see the Thousands property.

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