Correctly format market cap for penny stocks

master
Michael Dvorkin 11 years ago
parent 69fa0d1819
commit 787b4fbc3a
  1. 2
      layout.go

@ -50,7 +50,7 @@ func (self *Layout) Initialize() *Layout {
{ 9, `Yield`, `Yield`, percent }, { 9, `Yield`, `Yield`, percent },
{ 11, `MarketCap`, `MktCap`, currency }, { 11, `MarketCap`, `MktCap`, currency },
} }
self.regex = regexp.MustCompile(`(\.\d+)[MB]?$`) self.regex = regexp.MustCompile(`(\.\d+)[BMK]?$`)
self.market_template = build_market_template() self.market_template = build_market_template()
self.quotes_template = build_quotes_template() self.quotes_template = build_quotes_template()

Loading…
Cancel
Save