xHarbour Reference Documentation > Function Reference |
Retrieves the number of decimal places of a field variable.
FieldDec( <nFieldPos> ) --> nDecimalPlaces
The function returns a numeric value indicating the number of decimal places of the specified field variable.
FieldDec() retrieves a particular information available for field variables: the number of decimal places. This is only relevant for field variables of Numeric data type. All other field variables have no decimal places.
See also: | DbFieldInfo(), DbStruct(), FieldLen(), FieldName(), FieldType() |
Category: | Field functions , xHarbour extensions |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com