2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) > [moneyGainRate](./bitburner.hacknetnodesformulas.moneygainrate.md)
|
|
|
|
|
|
|
|
## HacknetNodesFormulas.moneyGainRate() method
|
|
|
|
|
|
|
|
Calculate money gain rate.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
moneyGainRate(level: number, ram: number, cores: number, mult?: number): number;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| level | number | level of the node. |
|
|
|
|
| ram | number | ram of the node. |
|
|
|
|
| cores | number | cores of the node. |
|
2023-02-11 19:18:50 +01:00
|
|
|
| mult | number | _(Optional)_ player production mult (default to 1) |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
The calculated money gain rate.
|
|
|
|
|