D Documentation [ Log in ]
std.conv
byte toByte(char[] s)
ubyte toUbyte(char[] s)
short toShort(char[] s)
ushort toUshort(char[] s)
int toInt(char[] s)
uint toUint(char[] s)
long toLong(char[] s)
ulong toUlong(char[] s)

Functions totype convert a string s into numeric type type.
They differ from the C functions atoi() and atol() by not allowing whitespace or overflows.

See also:
std.string.atoi, std.string.atof
PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.
This is the inofficial wiki for documenting the D programming language.
- Profiler -
Time for site generation: 0.0184 s