API Reference > Geometry-core > CartesianGeometry > Geometry > resolveNumber resolveNumber MethodStatic If given a number, return it. If given undefined, return defaultValue. resolveNumber(value: undefined | number, defaultValue: number = 0): number Parameter Type Description value undefined | number defaultValue number Returns - number Defined in Geometry.ts Line 625 Last Updated: 11 June, 2024