UNPKG

@ginden/blinkstick-v2

Version:
11 lines 422 B
/** * Converts decimal number to hex with zero padding * * @private * @method decimalToHex * @param {Number} d Decimal number to convert * @param {Number} [padding = 2] How many zeros to use for padding * @return {String} Decimal number converted to hex string (eg. decimalToHext(5) => '05') */ export declare function decimalToHex(d: number, padding?: number): string; //# sourceMappingURL=decimal-to-hex.d.ts.map