API Reference > imodeljs-clients > Configuration > Config > getNumber getNumber Method Attempt to get a number type variable value. getNumber(name: string, defaultVal?: number): number throws if the variable does not exist and a default value is not provided. Parameter Type Description name string the variable name to retrieve. defaultVal number the value to return if the variable does not exist. Returns - number Defined in core/clients/src/Config.ts Line 164 Last Updated: 13 June, 2024