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