@skyux/core
Version:
This library was generated with [Nx](https://nx.dev).
25 lines (24 loc) • 791 B
TypeScript
import { SkyLibResourcesService } from '@skyux/i18n';
import { SkyNumericOptions } from './numeric.options';
import * as i0 from "@angular/core";
export declare class SkyNumericService {
#private;
/**
* The browser's current locale.
* @internal
*/
currentLocale: string;
/**
* @internal
*/
shortSymbol: string;
constructor(resourcesSvc: SkyLibResourcesService);
/**
* Formats a number based on the provided options.
* @param value The number to format.
* @param options Format options.
*/
formatNumber(value: number | undefined | null, options: SkyNumericOptions): string;
static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SkyNumericService>;
}