Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ formatDollarValue
Function
formatDollarValue
app/core/utils.js:927–927 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
925
}
926
927
const
formatDollarValue = dollars =>
'$'
+ (parseFloat(dollars).toFixed(2))
928
929
const
capitalLanguages = {
930
javascript:
'JavaScript'
,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected