ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


number_parsing

This is an old revision of the document!


Number parsing

ACSUtils provides functions to convert strings to numbers.

Simple functions

These simply return 0 on error:

atoi("123") -> 123
atof("123.456") -> 123.456
atoi("abc") -> 0

Complex functions

These return error status and result, and allow specifying an arbitrary base:

number_parsing.1490105239.txt.gz · Last modified: 2017/03/21 16:07 by korshun