Polybench® Reference
Input value format specifiers.

Variable Type Formatting

Overview

In some cases the software allows you to define the type and range of a variable more precisely. In that case a type format specifier should be specified. This section lists the different format characters and shows how the format is constructed.

Items


Leave the format specifier empty to indicate a free format. In many occasions the input text does not have to be checked, in which case the format specifier is empty.


N
Use 'N' to specify that the input value should be interpreted as a natural number (integer).


R
Use 'R' to specify that the input value should be interpreted as a real number (floating point).


C
Use 'C' to specify that the input value should be interpreted as a currency.


D
use 'D' to specify that the input value should be interpreted as a date. The date can be entered in different cultural formats, for example 11th April 1975: 11.04.1975, or 4/11/1975, or 11-4-1975.


T
Use 'T' to specify that the input value should be interpreted as a time.


IMG
Use 'IMG' to specify that the input value is an image.