stash-connector
Version:
Module to handle and work with Atlassian Stash projects and repositories throug REST API. Admin your repositories and projects in Stash easy. This project is not an Atlassian official project but use the Atlassian Stash REST API
11 lines (10 loc) • 430 B
TypeScript
export declare class MathUtils {
/**
* Method to round a number with a selected decimal precission. By default, round with two decimals
* @param {number} number Number to round
* @param {number} [decimalNumbers] Decimal numbers precission
*
* @returns {number} Returns a rounded number with the specified decimals
*/
static round(number: number, decimalNumbers?: number): number;
}