@Integer

@INTEGER returns an integer.

DTP Type:

@INTEGER can be assigned to a DTP of type integer.

Syntax:

@INTEGER(value)

Parameter:

Parameter Description
value Design-time prompt or function that returns a value

Example:

[INT_NUM]=@INTEGER([num1])

Where:

  • [INT_NUM] is a DTP of type integer that is not a checked prompt.

  • [num1] is a DTP of type numeric that is a checked prompt.

Assume that the input for [num1] is "15.7"

In this example, [INT_NUM] returns 15.