Function numFromString

#include <Geode/utils/general.hpp>template<class Num>geode::Result<Num>numFromString(,
intbase
)

Parse a number from a string

Parameters

str

The string to parse

base

The base to use
Return value
String as number, or Err if the string couldn't be converted
Examples0