const padNumber = (n: number, l: number) => `${n}`.padStart(l, '0');
      
      Typescript language logo

      Pad number

      Codiga's TypeScript Recipes

      Pads a given number to the specified length.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.