MCPcopy Create free account
hub / github.com/cocos/cocos-engine / parseFloat

Function parseFloat

native/cocos/base/csscolorparser.cpp:228–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228float parseFloat(const ccstd::string &str) {
229 return strtof(str.c_str(), nullptr);
230}
231
232int64_t parseInt(const ccstd::string &str, uint8_t base = 10) {
233 return strtoll(str.c_str(), nullptr, base);

Callers 15

_multilineTextWrapMethod · 0.85
_updatePropertiesMethod · 0.85
BitMaskFunction · 0.85
enum.tsFile · 0.85
_parseNodeMethod · 0.85
getPropertyListFunction · 0.85
parseXMLStringMethod · 0.85
_parseImageLayerMethod · 0.85
_parseLayerMethod · 0.85
_parseObjectGroupMethod · 0.85
_parsePointsStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected