Added 'Issue New Shares' feature for Corporations. Added cooldowns for issuing new shares and selling shares. Selling shares now dynamically updated stock price

This commit is contained in:
danielyxie
2019-01-08 16:41:42 -08:00
parent ca002e6e53
commit 78f72b8542
10 changed files with 172581 additions and 362 deletions
+4
View File
@@ -39,6 +39,10 @@ class NumeralFormatter {
if (Math.abs(n) < 1e-6) { n = 0; }
return numeral(n).format(format);
}
formatMoney(n: number): string {
return this.format(n, "$0.000a");
}
}
export const numeralWrapper = new NumeralFormatter();