@barchart/common-js
Version:
Library of common JavaScript utilities
17 lines (16 loc) • 372 B
TypeScript
/**
* Utilities for working with numbers in base 52.
*
* @public
* @module lang/base64
*/
/**
* Converts a number from base ten to base fifty-two (where a=0, b=1, y=24 z=25, A=26,
* and Z=51).
*
* @public
* @param {number} value
* @param {number=} places
* @returns {string}
*/
export function fromBaseTen(value: number, places?: number | undefined): string;