Skip to content

Commit

Permalink
Update to_gc_num.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
slimerunner authored Dec 17, 2024
1 parent dc71087 commit 03b623e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/scripting/scripts.lib/to_gc_num.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ The formatted GC string to be turned into a number.

### Return

Returns a number (for valid GC string),
OR an error object (for invalid string).
Returns a number (for valid GC string) OR an error object (for invalid string).

```js
{
ok: false,
msg: "GC string " + gc_string + ` is not in correct format. Example GC strings: "1M234K567GC", "1B5KGC", "2MGC", "9GC".`
msg: "GC string " + gc_string + " is not in correct format. Example GC strings: \"1M234K567GC\", \"1B5KGC\", \"2MGC\", \"9GC\"."
}
```

Expand Down

0 comments on commit 03b623e

Please sign in to comment.