PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
IntegerPart (Property)
In french: PartieEntière
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
..IntegerPart is used to configure the Numeric items. You can:
  • 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: ..DecimalPart is used to define and find out the number of digits in the decimal part of a Numeric item.
Example
// Describe the AFile file
...

// Describe the "Amount" item
AnItem..Name = "AMOUNT"
AnItem..Type = hItemNumeric
AnItem..IntegerPart = 15
AnItem..DecimalPart = 7

// Validate the description of the "Amount" item
HDescribeItem(AFile, AnItem)

// Validate the description of AFile file
...
Syntax

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

<Result> = <File Name>.<Item Name>..IntegerPart
<Result>: Integer
Number of digits taken into account by the integer part of the item.
<File Name>: Character string (with or without quotes)
Name of data file used. This name was defined in the data model editor or by the File Description type.
<Item Name>: Character string (with or without quotes)
Name of item used. This name was defined in the data model editor or by the Item Description type.

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

<Item Name>..IntegerPart = <Number of Digits>
<Item Name>: Character string (with or without quotes)
Name of item used. This name was defined by the Item Description type.
<Number of Digits>: Integer
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