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

# TCalculatorDialog.Precision

Precision - the level of precision to be used in calculations; default is set by DefCalcPrecision.

## Declaration

Source position: extdlgs.pas line 177

`published property TCalculatorDialog.Precision : Byte read FPrecision write FPrecision default CalcDefPrecision;`

## Description

Precision is a Byte property which indicates the number of precision digits used when formatting the display for the Value property. Precision is assigned to the dialog form in DlgForm, and passed as an argument when calling the FloatToStrF routine.

The default value for the property is determined by the CalcDefPrecision constant.

## See also

TCalculatorDialog.Value |  | Value - the numeric value (result) returned by the calculator.
TCalculatorDialog.CalcDisplay |  | CalcDisplay - the current numeric value in the main calculator display.
TCalculatorForm |  | Implements the form used to display a calculator for a TCalculatorDialog instance.
CalcDefPrecision |  | Defines the default number of digits of precision used for values in TCalculatorForm.
FloatToStrF