diff options
Diffstat (limited to 'src/show.ts')
-rw-r--r-- | src/show.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/show.ts b/src/show.ts index b75ed7b..08a4778 100644 --- a/src/show.ts +++ b/src/show.ts @@ -1,3 +1,8 @@ +/* + This file is part of jshelper (https://codeberg.org/metamuffin/jshelper) + which is licensed under the GNU Affero General Public License (version 3); see /COPYING. + Copyright (C) 2023 metamuffin <metamuffin.org> +*/ export function metric(x: number, unit = ""): string { if (x > 1000000000) return (x / 1000000000).toFixed(1) + "G" + unit |