UI: Added new locale-aware and configurable number formatting (#354)

This commit is contained in:
Snarling
2023-02-11 13:18:50 -05:00
committed by GitHub
parent 1f5546b721
commit b4074328ec
1231 changed files with 4233 additions and 11958 deletions
+3 -3
View File
@@ -6,7 +6,7 @@
Get the cost of a hash upgrade.
<b>Signature:</b>
**Signature:**
```typescript
hashCost(upgName: string, count?: number): number;
@@ -17,9 +17,9 @@ hashCost(upgName: string, count?: number): number;
| Parameter | Type | Description |
| --- | --- | --- |
| upgName | string | Name of the upgrade of Hacknet Node. |
| count | number | Number of upgrades to buy at once. Defaults to 1 if not specified. |
| count | number | _(Optional)_ Number of upgrades to buy at once. Defaults to 1 if not specified. |
<b>Returns:</b>
**Returns:**
number