UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

19 lines (18 loc) 930 B
/** * CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24 * Update:: import { ITrimNumbers } to '@mikezimm/fps-core-v7/lib/components/molecules/source-props/Lists/getVX/IGetInterfaceV2;' * Update:: import { getCountLabel } to '@mikezimm/fps-core-v7/lib/logic/Math/labels;' */ import { ITrimNumbers } from "../../../components/molecules/source-props/Lists/getVX/IGetInterfaceV2"; /** * Created for Drilldown to convert numbers: https://github.com/mikezimm/drilldown7/issues/371 * Always convert rightSide to lower case before passing in. * Best if using createItemFunctionProp because it will already do that. * Will return using browser settings for thousands seperator: .toLocaleString() * * @param value * @param rightSide * @returns */ export declare function convertNumbers(value: string | number, rightSide: ITrimNumbers): string | any; //# sourceMappingURL=convertNumbers.d.ts.map