Skip to content

Instantly share code, notes, and snippets.

View rcebulko's full-sized avatar

Ryan Cebulko rcebulko

View GitHub Profile
@rcebulko
rcebulko / comma.js
Created November 15, 2017 16:56 — forked from MartinMuzatko/comma.js
JS Commarization, Number to words from Million, Billion, Trillion.... and extendible
function commarize()
{
// 1e6 = 1 Million, begin with number to word after 1e6.
if (this >= 1e6)
{
var units =
[
"Million",
"Billion",
"Trillion",
@rcebulko
rcebulko / .block
Created November 2, 2017 20:38 — forked from michaschwab/.block
license: gpl-3.0
height: 1200