[Overview][Classes][Procedures and functions][Index] Reference for unit 'Spin' (#lcl)

TCustomFloatSpinEdit.DecimalPlaces

Number of the decimal places displayed in the spin edit control.

Declaration

Source position: spin.pp line 76

public property TCustomFloatSpinEdit.DecimalPlaces : Integer
  read FDecimals
  write SetDecimals
  default DefDecimals;

Description

DecimalPlaces is used in the ValueToStr method, and determines the decimal precision for the value displayed in the spin edit control.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.