Unpack()

From TinyMUX
Jump to: navigation, search

Description

FUNCTION: 20px-Function.png 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))