unsigned long from string

mmh me being stupid, this works, thanks all

unsigned long A = atol(str.c_str());
1 Like