2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Gang ](./bitburner.gang.md ) > [getEquipmentCost ](./bitburner.gang.getequipmentcost.md )
## Gang.getEquipmentCost() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.
< b > Signature:< / b >
```typescript
getEquipmentCost(equipName: GangEquipment | GangAugmentations): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| equipName | [GangEquipment ](./bitburner.gangequipment.md ) \| [GangAugmentations ](./bitburner.gangaugmentations.md ) | Name of equipment. |
< b > Returns:< / b >
number
Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 2 GB
2021-10-30 18:34:14 +02:00