toLong

Converts a string variable to a long.

Syntax:

$[ScriptVariable]::toLong()

Parameters:

None

Example:

The following example illustrates the syntax for the toLong string method:

$notId = $notification.id::toLong()