mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-12 18:53:55 +01:00
25 lines
629 B
Markdown
25 lines
629 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) > [ramUpgradeCost](./bitburner.hacknetnodesformulas.ramupgradecost.md)
|
|
|
|
## HacknetNodesFormulas.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
|
|
|