UNPKG

@dash0/sdk-web

Version:

Dash0's Web SDK to collect telemetry from end-users' web browsers

4 lines (3 loc) 80 B
export function roundToTwoDecimals(n) { return Math.round(n * 100) / 100; }