Function that converts an expression into a boolean ( -1 / 0 ).
Syntax CBool (expression)
The keywords True and False are predefined constants and are interchangeable with the values -1 and 0, respectively.
Dim boolExStaff
boolExStaff = CBool(False)
PowerShell equivalent, assign the value 0 to the variable $num, then convert $num to Boolean False:
$num = 0
$num = [bool] $num
“The aim of science is not to open the door to infinite wisdom but to set a limit to infinite error” ~ Bertolt Brecht ‘Life of Galileo’
Abs - The absolute value of a number (ignore negative sign)
CByte - Convert to byte.
CCur - Convert to currency (number).
CDate - Convert to Date.
CDbl - Convert to Double (number).
CInt - Convert to Integer (number).
CLng - Convert to Long (number).