J
J
99 Joined 6 days ago
How to parse an integer from a string in Zig?

What is the proper way to parse an integer from a string in Zig, while being able to specify the resulting integer type? How would I convert foo to an i32, for example?

3 votes 33 views 1 Answer Asked 6 days ago
J
J
99