The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_numio
Class: TNumIO2
Declaration: property InputFormat: TInFormat;

The property InputFormat determines the format of the numeric data accepted by the edit box:

itInt Integer numbers.
itFloat Floating point numbers.
itFixPoint Fixed point decimal numbers. The number of decimal places is determined by the property FixPointDecPlaces.
itExp Exponential notation. The number of significant digits is controlled by the property SignificantDigits.
itBin Binary format.
itOct Octal format.
itHex Hexadecimal format.
itDynamic Leaves the choice of the numeric format to the user. Any of the above formats may be used. Binary, octal, or hexadecimal values may be entered by using one of the following prefix characters: % for binary numbers, & for octal, and $ for numbers. Negative numbers may only be entered using a decimal format.

Hint: In the Light Edition the formats itBin, itOct, and itHex are not available.

Last Update: 2012-Oct-20