added requests amb565 and amb445
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401078
This commit is contained in:
@@ -165,6 +165,16 @@ native VFormat(String:buffer[], maxlength, const String:format[], varpos);
|
||||
*/
|
||||
native StringToInt(const String:str[], nBase=10);
|
||||
|
||||
/**
|
||||
* Converts a string to an integer with some more options.
|
||||
*
|
||||
* @param str String to convert.
|
||||
* @param result Variable to store the result in.
|
||||
* @param nBase Numerical base to use. 10 is default.
|
||||
* @return Number of characters consumed.
|
||||
*/
|
||||
native StringToIntEx(const String:str[], &result, nBase=10);
|
||||
|
||||
/**
|
||||
* Converts an integer to a string.
|
||||
*
|
||||
@@ -183,6 +193,15 @@ native IntToString(num, String:str[], maxlength);
|
||||
*/
|
||||
native Float:StringToFloat(const String:str[]);
|
||||
|
||||
/**
|
||||
* Converts a string to a floating point number with some more options.
|
||||
*
|
||||
* @param str String to convert to a foat.
|
||||
* @param result Variable to store result in.
|
||||
* @return Number of characters consumed.
|
||||
*/
|
||||
native StringToFloatEx(const String:str[], &Float:result);
|
||||
|
||||
/**
|
||||
* Converts a floating point number to a string.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user