MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / FromString

Method FromString

extern/ttmath/ttmathint.h:1447–1450  ·  view source on GitHub ↗

! this method converts a string into its value it returns carry=1 if the value will be too big or an incorrect base 'b' is given string is ended with a non-digit value, for example: "-12" will be translated to -12 as well as: "- 12foo" will be translated to -12 too existing first white characters will be ommited (between '-' and a first digit can be white characters too) af

Source from the content-addressed store, hash-verified

1445 value_read (if exists) tells whether something has actually been read (at least one digit)
1446 */
1447 uint FromString(const char * s, uint b = 10, const char ** after_source = 0, bool * value_read = 0)
1448 {
1449 return FromStringBase(s, b, after_source, value_read);
1450 }
1451
1452
1453 /*!

Callers 1

IntClass · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected