This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
functions:atoi [2017/04/17 14:59] – korshun | functions:atoi [2017/04/17 15:32] – korshun | ||
---|---|---|---|
Line 8: | Line 8: | ||
If s is too big or too small to fit into int, returns [[constants: | If s is too big or too small to fit into int, returns [[constants: | ||
- | Supports [[:Number prefixes]]. | + | Supports |
+ | |||
+ | To parse fixed-point numbers, use [[atof]]. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | < | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | atoi(" | ||
+ | </ | ||