Permalink
Browse files

Market caps measured in the K's are OK too.

  • Loading branch information...
1 parent 3856e0d commit 1004757b5982c8df77cc007ba53b4508ddcba00d @jamiemccarthy jamiemccarthy committed Jun 7, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/Stock/stockquotes.pl
View
2 plugins/Stock/stockquotes.pl
@@ -59,7 +59,7 @@
$stock->{year_hi} = sprintf("%.1f", $2);
}
if ($stockfetch{$sym,"cap"} ne ""
- and $stockfetch{$sym,"cap"} =~ /([\d.]+)([BM])?/) {
+ and $stockfetch{$sym,"cap"} =~ /([\d.]+)([KMB])?/) {
$stock->{cap} = sprintf("%.0f$2", $1);
} else {
$stock->{cap} = "<i>n/a</i>";

0 comments on commit 1004757

Please sign in to comment.