Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
new:number_parsing [2018/02/17 22:43] – korshun | new:number_parsing [2018/02/18 01:56] – korshun |
---|
* ''PARSENUMBER_OVERFLOW'' -- the value is out of [[limits|range limits]] of ''int''. The second value is either ''INT_MIN'' or ''INT_MAX'', depending on the sign of the input number. | * ''PARSENUMBER_OVERFLOW'' -- the value is out of [[limits|range limits]] of ''int''. The second value is either ''INT_MIN'' or ''INT_MAX'', depending on the sign of the input number. |
* ''PARSENUMBER_BADFORMAT'' -- the input string doesn't conform to the format. The second value is 0. | * ''PARSENUMBER_BADFORMAT'' -- the input string doesn't conform to the format. The second value is 0. |
| |
| The parameter ''default_base'' sets the default base to parse the number in. Bases up to 36 are supported, using the following digits: ''0123456789abcdefghijklmnopqrstuvwxyz''. Any default base can be overriden by a base prefix. |
| |
| |