D Documentation  
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
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.