'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = formatHexValue;
function formatHexValue(number) {
  var result = Math.round(number).toString(16);
  while (result.length < 2) {
    result = '0' + result;
  }
  return result.substr(0, 2);
}
module.exports = exports['default'];