cleanup, docs
This commit is contained in:
@@ -18,6 +18,5 @@ Parses a trimmed string as a base-10 unsigned integer.
|
||||
|
||||
Unlike `int_val()`, the whole trimmed string must be consumed by the parser. Empty strings and partially parsed values such as `"42px"` return the fallback.
|
||||
|
||||
```uce
|
||||
u64 limit = to_u64(context.server->config["UPLOAD_LIMIT"], 1048576);
|
||||
```
|
||||
:example
|
||||
print(to_u64("7"), "\n");
|
||||
|
||||
Reference in New Issue
Block a user