Gets a property with key. Returns the value as num.
key
def The default value if key not found.
def
num? getPropertyAsNum(String key, [num? def]) => getPropertyAs(key, parseNum, def);