Add graphs and retention metrics to admin dashboard (#16829)
This commit is contained in:
@ -69,3 +69,11 @@ export function pluralReady(sourceNumber, division) {
|
||||
|
||||
return Math.trunc(sourceNumber / closestScale) * closestScale;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} num
|
||||
* @returns {number}
|
||||
*/
|
||||
export function roundTo10(num) {
|
||||
return Math.round(num * 0.1) / 0.1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user