Function that converts an expression into a currency value.
Syntax CCur (expression)
CCur cannot handle Null values.
Dim curSalary
curSalary = CCur(45.764321)
PowerShell equivalent, there is no currency data type, but it is possible to format a value so it displays as currency:
$num = "{0:C}" -f 64
“Gold is the money of kings; silver is the money of gentlemen; barter is the money of peasants; but debt is the money of slaves” ~ Norm Franz
Q51414 - Internal Format of CURRENCY Data Type.
CBool - Convert to boolean.
CByte - Convert to byte.
CDate - Convert to Date.
CDbl - Convert to Double (number).
CInt - Convert to Integer (number).
CLng - Convert to Long (number).
Convert to Base 36
Syntax - IsBlank function to detect Empty or NULL or Zero.