From 787b4fbc3a7e983861ac578ec5c201284588a799 Mon Sep 17 00:00:00 2001 From: Michael Dvorkin Date: Thu, 15 Aug 2013 10:53:04 -0700 Subject: [PATCH] Correctly format market cap for penny stocks --- layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.go b/layout.go index 7fb6da0..f20ac3b 100644 --- a/layout.go +++ b/layout.go @@ -50,7 +50,7 @@ func (self *Layout) Initialize() *Layout { { 9, `Yield`, `Yield`, percent }, { 11, `MarketCap`, `MktCap`, currency }, } - self.regex = regexp.MustCompile(`(\.\d+)[MB]?$`) + self.regex = regexp.MustCompile(`(\.\d+)[BMK]?$`) self.market_template = build_market_template() self.quotes_template = build_quotes_template()