Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

CLng

  • Last UpdatedJul 18, 2023
  • 1 minute read

Converts expressions to a long data type.

Syntax

CLng(Exp)

Exp:

A valid string, number or Variant containing a value recognizable as a string or number.

Return Value

Returns the value of the expression Exp provided in the argument as a long data type.

CDate | CDbl | CInt | CSng | CStr| CVar

Example

Dim x as integer
Dim y as long
y = CLng(x) 'Converts the integer value of x to an long value in y

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in