mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 23:27:55 +02:00
UI: Added new locale-aware and configurable number formatting (#354)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
Get the ram cost of a script.
|
||||
|
||||
<b>Signature:</b>
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getScriptRam(script: string, host?: string): number;
|
||||
@@ -17,9 +17,9 @@ getScriptRam(script: string, host?: string): number;
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| script | string | Filename of script. This is case-sensitive. |
|
||||
| host | string | Hostname of target server the script is located on. This is optional. If it is not specified then the function will use the current server as the target server. |
|
||||
| host | string | _(Optional)_ Hostname of target server the script is located on. This is optional. If it is not specified then the function will use the current server as the target server. |
|
||||
|
||||
<b>Returns:</b>
|
||||
**Returns:**
|
||||
|
||||
number
|
||||
|
||||
|
||||
Reference in New Issue
Block a user