bitburner-src/markdown/bitburner.hacknetnodesformulas.moneygainrate.md

30 lines
776 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [moneyGainRate](./bitburner.hacknetnodesformulas.moneygainrate.md)
## HacknetNodesFormulas.moneyGainRate() method
2021-12-09 01:19:07 +01:00
Calculate money gain rate.
<b>Signature:</b>
```typescript
moneyGainRate(level: number, ram: number, cores: number, mult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-12-09 01:19:07 +01:00
| level | number | level of the node. |
| ram | number | ram of the node. |
| cores | number | cores of the node. |
| mult | number | player production mult (default to 1) |
<b>Returns:</b>
number
2021-12-09 01:19:07 +01:00
The calculated money gain rate.