@azure/msal-browser
Version:
Microsoft Authentication Library for js
30 lines (28 loc) • 662 B
JavaScript
/*! @azure/msal-browser v2.28.1 2022-08-01 */
;
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Utility class for math specific functions in browser.
*/
var MathUtils = /** @class */ (function () {
function MathUtils() {
}
/**
* Decimal to Hex
*
* @param num
*/
MathUtils.decimalToHex = function (num) {
var hex = num.toString(16);
while (hex.length < 2) {
hex = "0" + hex;
}
return hex;
};
return MathUtils;
}());
export { MathUtils };
//# sourceMappingURL=MathUtils.js.map