UNPKG

@js-draw/math

Version:
11 lines (10 loc) 259 B
/** * Returns the length of `numberAsString` after a decimal point. * * For example, * ```ts * getLenAfterDecimal('1.001') // -> 3 * ``` */ export declare const getLenAfterDecimal: (numberAsString: string) => number; export default getLenAfterDecimal;