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:
  • Find out the number of digits in the integer part of a Numeric item.
  • Define the number of digits in the integer part of a Numeric item.
Note The DecimalPart property is used to define and identify the number of digits in the decimal part of a Numeric 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

Find out the number of digits in the integer part of a Numeric item Hide the details

<Result> = <Data file>.<Item>.IntegerPart
<Result>: Int
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 Numeric item 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>: Int
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: 10/08/2025

Send a report | Local help