.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT LANGUAGE


CLng function
Example

Returns a value converted to the Long data type.

Syntax

CLng ( expr )

Elements

expr


Return value

CLng returns the value of expr rounded to the nearest integer, as a Long value.

CLng(EMPTY) returns 0.

If expr is a string expression, CLng returns the numeric representation of the string, rounded to the nearest integer. If LotusScript cannot convert the string to a number, the function raises an error.

If the value of expr is too large to fit in the Long data type, the function raises an error.

Language cross-reference

@Integer function in formula language

@TextToNumber function in formula language

Example
See Also