mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 12:00:23 +00:00
3 lines
No EOL
112 B
TypeScript
3 lines
No EOL
112 B
TypeScript
export function decToHex(value: number, minDigit = 2) {
|
|
return value.toString(16).padStart(minDigit, "0");
|
|
} |