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

Method adjustedPriceStringNoSymbol

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

Source from the content-addressed store, hash-verified

24 priceStringNoSymbol () { return (this.get('amount') / 100).toFixed(2) }
25
26 adjustedPriceStringNoSymbol () {
27 return (this.adjustedPrice() / 100).toFixed(2)
28 }
29
30 adjustedPrice () {
31 let amt = this.get('amount')

Callers 3

makeFakePayPalButtonFunction · 0.80
makeFakePayPalButtonFunction · 0.80
paymentFunction · 0.80

Calls 1

adjustedPriceMethod · 0.95

Tested by 2

makeFakePayPalButtonFunction · 0.64
makeFakePayPalButtonFunction · 0.64