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 ) > [HackingFormulas ](./bitburner.hackingformulas.md ) > [growPercent ](./bitburner.hackingformulas.growpercent.md )
## HackingFormulas.growPercent() method
2023-01-03 17:55:50 +01:00
Calculate the percent a server would grow to. Not exact due to limitations of mathematics. (Ex: 3.0 would would grow the server to 300% of its current value.)
2022-10-21 17:16:00 +02:00
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
2022-11-20 18:07:22 +01:00
growPercent(server: Server, threads: number, player: Person, cores?: number): number;
2022-10-21 17:16:00 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2023-02-17 09:14:20 +01:00
| server | [Server ](./bitburner.server.md ) | Server info, typically from [getServer ](./bitburner.ns.getserver.md ) |
2022-10-21 17:16:00 +02:00
| threads | number | Amount of thread. |
2023-02-17 09:14:20 +01:00
| player | [Person ](./bitburner.person.md ) | Player info, typically from [getPlayer ](./bitburner.ns.getplayer.md ) |
2023-02-11 19:18:50 +01:00
| cores | number | _(Optional)_ Number of cores on the computer that will execute grow. |
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 grow percent.