CLONG

Casts the value to a Long. Returns null if the cast is invalid.

Syntax

CLONG(Value_Expression)

Input Parameters

Value Expression

Return Value

Returns a Long.

Example

Return the right 4 characters from the member's name as a Long

CLONG(RIGHT([Order Date Dimension].[Order Retail445].currentMember.NAME, 4))