Unpack()

From TinyMUX
Revision as of 05:17, 17 January 2006 by Ian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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))