Returns the numeric value for the given key in the given associative
array or the given default value (or 0) if the value is null. The value
is converted to a numeric value using the Number function.
getNumber(array, key, defaultValue): number
Parameters
array: any
Associative array that contains the value for the key.
key: string
Key whose value should be returned.
defaultValue: number
Value to be returned if the value for the given
key is null. Default is 0.
Returns the numeric value for the given key in the given associative array or the given default value (or 0) if the value is null. The value is converted to a numeric value using the Number function.