MCPcopy Create free account
hub / github.com/codecombat/codecombat / priceStringNoSymbol

Method priceStringNoSymbol

app/models/Product.js:24–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 isRegionalSubscription (name) { return utils.isRegionalSubscription(name != null ? name : this.get('name')) }
23
24 priceStringNoSymbol () { return (this.get('amount') / 100).toFixed(2) }
25
26 adjustedPriceStringNoSymbol () {
27 return (this.adjustedPrice() / 100).toFixed(2)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected