WORD()

Converts double to integer values.

Syntax

WORD( <nDouble> ) --> <nInteger>

Arguments

<nDouble> is a numeric double value.

Returns

WORD() return an integer in the range +-32767

Description

This function converts double values to integers to use within the CALL command

Status

Ready

Compliance

The Clipper NG states that WORD() will only work when used in CALL commands parameter list, otherwise it will return NIL, in Harbour it will work anywhere.

Files

Library is rtl

See Also