UI: Added new locale-aware and configurable number formatting (#354)

This commit is contained in:
Snarling
2023-02-11 13:18:50 -05:00
committed by GitHub
parent 1f5546b721
commit b4074328ec
1231 changed files with 4233 additions and 11958 deletions

View File

@@ -6,7 +6,7 @@
Commit a crime.
<b>Signature:</b>
**Signature:**
```typescript
commitCrime(crime: CrimeType | `${CrimeType}`, focus?: boolean): number;
@@ -17,9 +17,9 @@ commitCrime(crime: CrimeType | `${CrimeType}`, focus?: boolean): number;
| Parameter | Type | Description |
| --- | --- | --- |
| crime | [CrimeType](./bitburner.crimetype.md) \| \`${[CrimeType](./bitburner.crimetype.md)<!-- -->}\` | Name of crime to attempt. |
| focus | boolean | Acquire player focus on this crime. Optional. Defaults to true. |
| focus | boolean | _(Optional)_ Acquire player focus on this crime. Optional. Defaults to true. |
<b>Returns:</b>
**Returns:**
number