mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
25 lines
637 B
Markdown
25 lines
637 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [ramUpgradeCost](./bitburner.hacknetserversformulas.ramupgradecost.md)
|
||
|
|
||
|
## HacknetServersFormulas.ramUpgradeCost() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
ramUpgradeCost(startingRam: number, extraLevels?: number, costMult?: number): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| startingRam | number | |
|
||
|
| extraLevels | number | |
|
||
|
| costMult | number | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|