How to use the @bentley/imodeljs-quantity.Formatter.formatQuantity function in @bentley/imodeljs-quantity

To help you get started, we’ve selected a few @bentley/imodeljs-quantity examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github imodeljs / imodeljs / core / frontend / src / QuantityFormatter.ts View on Github external
public formatQuantity(magnitude: number, formatSpec: FormatterSpec): string {
    return Formatter.formatQuantity(magnitude, formatSpec);
  }