The Standard LibrarynumberMethodsstouOn this pagestouConvert a string to an unsigned integer. stou("123", 10); //123ustou("0xff", 16), //255u Syntax stou(string, base) Returns The string as an unsigned integer on success. Undefined when the string cannot be converted.