API Reference > bentleyjs-core > Utils > compareNumbers compareNumbers Function compareNumbers(a: number, b: number): number Parameter Type Description a number b number Returns - number Defined in core/bentley/src/Compare.ts Line 45 Last Updated: 15 June, 2021