Harbour Reference Guide

 

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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30