MCPcopy 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
927const formatDollarValue = dollars => '$' + (parseFloat(dollars).toFixed(2))
928
929const capitalLanguages = {
930 javascript: 'JavaScript',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected