ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:atoi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
functions:atoi [2017/04/17 15:06] korshunfunctions:atoi [2017/04/17 15:06] korshun
Line 18: Line 18:
 atoi("not a number") -> 0 // Error atoi("not a number") -> 0 // Error
 atoi("1.3") -> 0 // Error atoi("1.3") -> 0 // Error
 +atoi("0xff") -> 255 // Hexadecimal prefix
 </code> </code>
  
  
functions/atoi.txt · Last modified: 2017/04/17 15:33 by korshun