August 11, 2004 String <-> Int | ||||
---|---|---|---|---|
| ||||
how to convert strings to ints and vice versa? |
August 11, 2004 Re: String <-> Int | ||||
---|---|---|---|---|
| ||||
Posted in reply to __me | import std.string; that module has a lot of toString() functions to convert to strings. it also has an atoi() function that you can use to convert from a string to an integer. :) |
Copyright © 1999-2021 by the D Language Foundation