|
|
|
|
|
DecimalPart (Property)
 Disponible solo con estos tipos de conexión
The DecimalPart property is used to configure Numeric items. You can: - Find out the number of digits in the decimal part of a Numeric item.
- Define the number of digits in the decimal part of a Numeric item.
Note The IntegerPart property defines and displays the number of digits in the integer part of a Numeric field.
...
AnItem.Name = "AMOUNT"
AnItem.Type = hItemNumeric
AnItem.IntegerPart = 15
AnItem.DecimalPart = 7
HDescribeItem(AFile, AnItem)
...
Sintaxis
Find out the number of digits in the decimal part of a Numeric item Ocultar los detalles
<Résultat> = <Fichier de données>.<Rubrique>.DecimalPart
<Result>: Integer Number of digits taken into account by the decimal part of the item. <Data file>: Character string Name of the data file used. This name was defined in the data model editor or with the File Description type. <Item>: Character string Name of the item used. This name is defined in the data model editor or with the Item Description type.
Defining the number of digits in the decimal part of a Numeric item Ocultar los detalles
<Item>.DecimalPart = <Number of digits>
<Item>: Character string Name of the item used. This name is defined with the Item Description type. <Number of digits>: Integer Number of digits to take into account for the decimal part of a Numeric item.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|