Sign in Join
FPDoc Onlineexperiment

TCustomFloatSpinEdit.ValueToStr function

Member of TCustomFloatSpinEditpublicIn unit Spin

Converts the specified value to a String type using the spin edit settings.

Declaration

pascal
function ValueToStr(const AValue: Double): string; virtual

Arguments

AValue

Float value converted to a string in the method.

Function result

String representation for the float value.

Description

Calls GetLimitedValue to range limit the value in AValue. Calls FloatToStrF to format the return value using 20 digits of precision and the number of decimals in the DecimalPlaces property.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.