Data.DB.TNumericField.InvalidFloatValue
Delphi
procedure InvalidFloatValue(const Value: string);
C++
void __fastcall InvalidFloatValue(const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TNumericField |
Description
Raises an EDatabaseError exception.
TNumericField calls InvalidFloatValue when you assign as a string an invalid floating-point value to this field.
The message of the exception contains the following text:
- '%s' is not a valid floating point value for field '%s'
Where the first %s is the string passed to SetAsString and the second %s is the display name of the field.