Unpack()

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

FUNCTION: unpack(packed number[,radix])

Returns the equivalent normal base-10 number of the given packed-number using the specified base. The default radix is 64. The inverse function of unpack() is pack().

Related Topics: pack().

Examples

>think unpack(bVxTM)
629126998
>think unpack(1111,2)
15


(--Soylent 01:34, 3 December 2005 (EST))