mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 17:07:32 +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
|
||
|
|