Get the single value for key parameter with zero as default value
class function getValue(key: string; default: single = 0): single