Skip to main content

Built and signed on GitHub Actions

deno module, a collection of math util under dallmo-util

This package works with DenoIt is unknown whether this package works with Bun, Cloudflare Workers, Node.js, Browsers
JSR Score
100%
Published
3 months ago (1.1.0)
function add_leading_zero

given a number, return a string with leading zero in specified output_length by char count

Parameters

input_num: number
output_length: number
  • the total length in char

Return Type

Add Package

deno add @dallmo/util-math

Import symbol

import { add_leading_zero } from "@dallmo/util-math";

Add Package

npx jsr add @dallmo/util-math

Import symbol

import { add_leading_zero } from "@dallmo/util-math";

Add Package

yarn dlx jsr add @dallmo/util-math

Import symbol

import { add_leading_zero } from "@dallmo/util-math";

Add Package

pnpm dlx jsr add @dallmo/util-math

Import symbol

import { add_leading_zero } from "@dallmo/util-math";

Add Package

bunx jsr add @dallmo/util-math

Import symbol

import { add_leading_zero } from "@dallmo/util-math";