@halloverden/number-utilities-ts
Version:
Typescript library with utility functions for a bunch of numbers
12 lines (11 loc) • 316 B
TypeScript
/**
* Returns a zero padded string with the length specified
* If length of incoming value is longer than or equal to the specified length,
* the value is returned unmodified
*
* @param value
* @param length
*
* @return string
*/
export declare function zeroPadding(value: string, length?: number): string;