mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 18:22:58 +02:00
UI: Added new locale-aware and configurable number formatting (#354)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
Calculate cost of upgrading hacknet server cache.
|
||||
|
||||
<b>Signature:</b>
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
cacheUpgradeCost(startingCache: number, extraCache?: number): number;
|
||||
@@ -17,9 +17,9 @@ cacheUpgradeCost(startingCache: number, extraCache?: number): number;
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| startingCache | number | starting cache level |
|
||||
| extraCache | number | amount of levels of cache to purchase (defaults to 1) |
|
||||
| extraCache | number | _(Optional)_ amount of levels of cache to purchase (defaults to 1) |
|
||||
|
||||
<b>Returns:</b>
|
||||
**Returns:**
|
||||
|
||||
number
|
||||
|
||||
|
||||
Reference in New Issue
Block a user