Skip to main content
Module

x/numwizard/mod.ts>AddComma

A bunch of functions to convert numbers into strings of required format.
Latest
function AddComma
import { AddComma } from "https://deno.land/x/numwizard@v1.2.1/mod.ts";

Add commas to a number.

Parameters

x: number
  • Number to add commas in.
optional
type: string
  • Specify "in" for Indian system. Specify "ja" for Japanese system (the literal one or so I guess). Leave blank for the general one.

Returns

string