lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Oct 20, 2009 at 12:36 PM, Awadhesh Kumar <awadhesh.usa@gmail.com> wrote:
> So I want an API which converts the datatype into userdata or any API which
> converts the hex string into numeric format.

tonumber(your_string,16)

(It defaults to base 10)