You've already forked retrowin32
mirror of
https://github.com/encounter/retrowin32.git
synced 2026-03-30 11:35:51 -07:00
4 lines
102 B
TypeScript
4 lines
102 B
TypeScript
export function hex(i: number, digits = 2): string {
|
|
return i.toString(16).padStart(digits, '0');
|
|
}
|