Binary to Decimal Conversion
Mike Bonner
bonnmike at gmail.com
Fri Jan 2 20:23:16 EST 2015
I assume you're wanting to do it by hand rather than using the baseconvert
function?
baseconvert(00101001,2,10)..
On Fri, Jan 2, 2015 at 5:55 PM, Bob Sneidar <bobsneidar at iotecdigital.com>
wrote:
> Hi all.
>
> I thought for sure there was some formula one liner to convert a binary
> value to a decimal, but poking around on the internet, all I can find is an
> iteration method which adds the base power of each bit. Fir example, (1 *
> 2^0) + (1 * 2^1) = 3. Is this the only way or is there an actual
> mathematical formula I can use to convert a binary number into another base?
>
> Bob S
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the Use-livecode
mailing list