Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IIIIQIIII/claude-code
/ round
Function
round
src/cost-tracker.ts:246–248 ·
view source on GitHub ↗
(number: number, precision: number)
Source
from the content-addressed store, hash-verified
244
}
245
246
function
round(number: number, precision: number): number {
247
return
Math.round(number * precision) / precision
248
}
249
250
function
addToTotalModelUsage(
251
cost: number,
Callers
1
formatCost
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected