ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:atoi

This is an old revision of the document!


atoi

int atoi(str s)

Description

Returns s parsed as a decimal integer. If s cannot be parsed as an integer, returns 0.

If s is too big or too small to fit into int, returns INT_MAX with the sign of the input.

Supports Number prefixes.

functions/atoi.1492430384.txt.gz · Last modified: 2017/04/17 14:59 by korshun