ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
IntegerPart (Property)
In french: PartieEntière
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The IntegerPart property is used to configure Numeric items. It is possible to:
  • Know the number of digits in the integer part of a Numerical field.
  • Define the number of digits in the integer part of a Numeric item.
Remark: The DecimalPart property defines and displays the number of digits in the decimal part of a Numerical field.
Example
// Description du fichier de données UnFichier
...

// Description de la rubrique "Montant"
UneRubrique.Nom = "MONTANT"
UneRubrique.Type = hItemNumeric
UneRubrique.PartieEntière = 15
UneRubrique.PartieDécimale = 7

// Validation de la description de la rubrique "Montant"
HDescribeItem(UnFichier, UneRubrique)

// Validation de la description du fichier de données UnFichier
...
Syntax

Know the number of digits in the integer part of a Numerical field. Hide the details

<Result> = <Data file>.<Item>.IntegerPart
<Result>: entier
Number of digits taken into account by the integer 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.

Define the number of digits in the integer part of a Numerical field. Hide the details

<Item>.IntegerPart = <Number of digits>
<Item>: Character string
Name of the item used. This name is defined with the Item Description type.
<Number of digits>: entier
Number of digits that must be taken into account for the integer part of the Numeric item.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help