MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / ToInteger

Method ToInteger

src/Nazara/Core/String.cpp:4149–4160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4147 */
4148
4149 bool String::ToInteger(long long* value, UInt8 base) const
4150 {
4151 if (value)
4152 {
4153 bool ok;
4154 *value = StringToNumber(*this, base, &ok);
4155
4156 return ok;
4157 }
4158 else
4159 return IsNumber(base);
4160 }
4161
4162 /*!
4163 * \brief Converts the string to lower

Callers 2

LuaBinding_MathMethod · 0.45
GetIntegerParameterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected