PC Review


Reply
Thread Tools Rate Thread

Decimal-Hex-Binary coverter

 
 
1Adata
Guest
Posts: n/a
 
      2nd Jun 2009
is there simple standalone freeware utility to convert decimal-hex-binary
values?

0 = 0xFFFF = 1111 1111 1111 1111
1 = 0xFFFE = 1111 1111 1111 1110
2 = 0xFFFC = 1111 1111 1111 1100
3 = 0xFFF8 = 1111 1111 1111 1000
....
can no find one that preserve results exactly in this format.

 
Reply With Quote
 
 
 
 
1Adata
Guest
Posts: n/a
 
      2nd Jun 2009

"Stan Weiss" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> decimal-hex-binary can be done using the calculator that comes with
> Windows.
> I am on a W2k machine. In view change to scientific mode you can that
> select hex, dec, oct or bin enter the information and select the one you
> want it converted to
>
> 1Adata wrote:
>>
>> is there simple standalone freeware utility to convert decimal-hex-binary
>> values?
>>
>> 0 = 0xFFFF = 1111 1111 1111 1111
>> 1 = 0xFFFE = 1111 1111 1111 1110
>> 2 = 0xFFFC = 1111 1111 1111 1100
>> 3 = 0xFFF8 = 1111 1111 1111 1000
>> ...
>> can no find one that preserve results exactly in this format.

--------------

have tried, but can no get result represented as in my example, and this
calculator is not too convenient.

thank you.

 
Reply With Quote
 
Stan Weiss
Guest
Posts: n/a
 
      2nd Jun 2009
decimal-hex-binary can be done using the calculator that comes with
Windows.
I am on a W2k machine. In view change to scientific mode you can that
select hex, dec, oct or bin enter the information and select the one you
want it converted to

1Adata wrote:
>
> is there simple standalone freeware utility to convert decimal-hex-binary
> values?
>
> 0 = 0xFFFF = 1111 1111 1111 1111
> 1 = 0xFFFE = 1111 1111 1111 1110
> 2 = 0xFFFC = 1111 1111 1111 1100
> 3 = 0xFFF8 = 1111 1111 1111 1000
> ...
> can no find one that preserve results exactly in this format.

 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      2nd Jun 2009

"1Adata" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> is there simple standalone freeware utility to convert decimal-hex-binary
> values?
>
> 0 = 0xFFFF = 1111 1111 1111 1111
> 1 = 0xFFFE = 1111 1111 1111 1110
> 2 = 0xFFFC = 1111 1111 1111 1100
> 3 = 0xFFF8 = 1111 1111 1111 1000
> ...
> can no find one that preserve results exactly in this format.

Shouldn't the requested format be:
0 = 0x0000 = 0000 0000 0000 0000
1 = 0x0001 = 0000 0000 0000 0001
2 = 0x0002 = 0000 0000 0000 0010
3 = 0x0003 = 0000 0000 0000 0011

If this format is what you want, be prepared to write a program yourself.

Jim



 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      2nd Jun 2009
The date and time was Tuesday, June 02, 2009 9:48:03 AM, and on a whim,
1Adata pounded out on the keyboard:

> is there simple standalone freeware utility to convert decimal-hex-binary
> values?
>
> 0 = 0xFFFF = 1111 1111 1111 1111
> 1 = 0xFFFE = 1111 1111 1111 1110
> 2 = 0xFFFC = 1111 1111 1111 1100
> 3 = 0xFFF8 = 1111 1111 1111 1000
> ...
> can no find one that preserve results exactly in this format.
>


http://faculty.plattsburgh.edu/alber...es/DECBIN.HTML


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a
 
      2nd Jun 2009

"1Adata" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Stan Weiss" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> decimal-hex-binary can be done using the calculator that comes with
>> Windows.
>> I am on a W2k machine. In view change to scientific mode you can that
>> select hex, dec, oct or bin enter the information and select the one you
>> want it converted to
>>
>> 1Adata wrote:
>>>
>>> is there simple standalone freeware utility to convert
>>> decimal-hex-binary
>>> values?
>>>
>>> 0 = 0xFFFF = 1111 1111 1111 1111
>>> 1 = 0xFFFE = 1111 1111 1111 1110
>>> 2 = 0xFFFC = 1111 1111 1111 1100
>>> 3 = 0xFFF8 = 1111 1111 1111 1000
>>> ...
>>> can no find one that preserve results exactly in this format.

> --------------
>
> have tried, but can no get result represented as in my example, and this
> calculator is not too convenient.
>
> thank you.


Instead of saying "this calculator is not too convenient", I recommend you
say what sort of convenience you require. If you don't then respondents are
forced to guess what you might like and what you might not like. For
example, are you after a GUI or a command line converter? Keyboard input or
file input? Screen output or file output? What range of numbers are you
looking at? You should also explain why you think that 2 = 0xFFFC.


 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a
 
      2nd Jun 2009

"Stan Weiss" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> 1Adata wrote:
>>
>> "Stan Weiss" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > decimal-hex-binary can be done using the calculator that comes with
>> > Windows.
>> > I am on a W2k machine. In view change to scientific mode you can that
>> > select hex, dec, oct or bin enter the information and select the one
>> > you
>> > want it converted to
>> >
>> > 1Adata wrote:
>> >>
>> >> is there simple standalone freeware utility to convert
>> >> decimal-hex-binary
>> >> values?
>> >>
>> >> 0 = 0xFFFF = 1111 1111 1111 1111
>> >> 1 = 0xFFFE = 1111 1111 1111 1110
>> >> 2 = 0xFFFC = 1111 1111 1111 1100
>> >> 3 = 0xFFF8 = 1111 1111 1111 1000
>> >> ...
>> >> can no find one that preserve results exactly in this format.

>> --------------
>>
>> have tried, but can no get result represented as in my example, and this
>> calculator is not too convenient.
>>
>> thank you.

>
> Looking at your example 0 = 0xFFFF = 1111 1111 1111 1111 My question is
> where is your decimal number?


I think your clock or time zone setting is out. You're posting in the
future.


 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      2nd Jun 2009
1Adata wrote:
> is there simple standalone freeware utility to convert
> decimal-hex-binary values?
>
> 0 = 0xFFFF = 1111 1111 1111 1111
> 1 = 0xFFFE = 1111 1111 1111 1110
> 2 = 0xFFFC = 1111 1111 1111 1100
> 3 = 0xFFF8 = 1111 1111 1111 1000
> ...
> can no find one that preserve results exactly in this format.


Of course not. The equations you offer are wrong, i.e.,

0 = 0x0000 = 0000 0000 0000 0000

They are not even negatives:

-1 = 0xFFFF = 1111 1111 1111 1111


 
Reply With Quote
 
Stan Weiss
Guest
Posts: n/a
 
      2nd Jun 2009


1Adata wrote:
>
> "Stan Weiss" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > decimal-hex-binary can be done using the calculator that comes with
> > Windows.
> > I am on a W2k machine. In view change to scientific mode you can that
> > select hex, dec, oct or bin enter the information and select the one you
> > want it converted to
> >
> > 1Adata wrote:
> >>
> >> is there simple standalone freeware utility to convert decimal-hex-binary
> >> values?
> >>
> >> 0 = 0xFFFF = 1111 1111 1111 1111
> >> 1 = 0xFFFE = 1111 1111 1111 1110
> >> 2 = 0xFFFC = 1111 1111 1111 1100
> >> 3 = 0xFFF8 = 1111 1111 1111 1000
> >> ...
> >> can no find one that preserve results exactly in this format.

> --------------
>
> have tried, but can no get result represented as in my example, and this
> calculator is not too convenient.
>
> thank you.


Looking at your example 0 = 0xFFFF = 1111 1111 1111 1111 My question is
where is your decimal number?
 
Reply With Quote
 
1Adata
Guest
Posts: n/a
 
      2nd Jun 2009

"HeyBub" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 1Adata wrote:
> > is there simple standalone freeware utility to convert
> > decimal-hex-binary values?
> >
> > 0 = 0xFFFF = 1111 1111 1111 1111
> > 1 = 0xFFFE = 1111 1111 1111 1110
> > 2 = 0xFFFC = 1111 1111 1111 1100
> > 3 = 0xFFF8 = 1111 1111 1111 1000
> > ...
> > can no find one that preserve results exactly in this format.

>
> Of course not. The equations you offer are wrong, i.e.,
>
> 0 = 0x0000 = 0000 0000 0000 0000
>
> They are not even negatives:
>
> -1 = 0xFFFF = 1111 1111 1111 1111
>

----------

sorry I was mistaken, I got confused, it looks the correct is only hex to
binary conformity, the decimal numbers are wrong.
Its just communication with microcontroller, there is a sort of counter, for
instance, when a card has three rides left the value is
0xFFF8 (1111 1111 1111 1000). Two rides equals 0xFFFC (1111 1111 1111 1100),
one ride equals 0xFFFE
(1111 1111 1111 1110) and no rides equals 0xFFFF (1111 1111 1111 1111). But
looks decimal numbers does not conform the hex and binary format.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
decimal to binary boardmaker Microsoft Excel Misc 4 13th Jun 2006 09:00 PM
Binary to Decimal =?Utf-8?B?bG1oODY=?= Microsoft VC .NET 1 3rd Mar 2005 01:47 AM
Decimal to Binary Himu Microsoft Excel Worksheet Functions 15 22nd Nov 2004 07:13 PM
decimal to hex to binary =?Utf-8?B?U3BlcXRlcg==?= Microsoft Excel Misc 1 2nd Nov 2004 11:19 PM
Decimal to Binary Javier Piņero Microsoft Dot NET Compact Framework 5 17th May 2004 04:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 PM.