Gentee Programming Language > Documentation > Libraries Download documentation

str2int

The function converts a string into int or uint.
 
int str2int(
      str   val
)

Parameters

valThe string for conversion. If the string starts from 0x, the integer is considered to be in the hexadecimal form.

Return value

A value of the int type.

See also

    Strings    Working with strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.