Converts a string variable to a long.
$[ScriptVariable]::toLong()
None
The following example illustrates the syntax for the toLong string method:
$notId = $notification.id::toLong()