Binary to Decimal Conversion

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 6 11:20:04 EST 2015


Whaaa??? Oh happy day! That is what I needed! Thanks!

Bob S


> On Jan 2, 2015, at 17:23 , Mike Bonner <bonnmike at gmail.com> wrote:
> 
> 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
>> 
> _______________________________________________
> 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