View previous topic :: View next topic
|
Author |
Message |
theone1987
New User
Joined: 14 Sep 2009 Posts: 60 Location: Milan
|
|
|
|
Hi everyone,
i have a number in this format
i want convert in this format
how can i do it whit sort?
thank you
L |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
theone1987,
Your input has only X'080300000001' preceded by X'E1' ie., '÷' symbol. Where did the prefix '1' in the expected output come from? |
|
Back to top |
|
|
theone1987
New User
Joined: 14 Sep 2009 Posts: 60 Location: Milan
|
|
|
|
Arun Raj wrote: |
theone1987,
Where did the prefix '1' in the expected output come from? |
I thought that X'E1' = 1 (otherwise how could I convert X'E1'?) |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
theone1987 wrote: |
I thought that X'E1' = 1 (otherwise how could I convert X'E1'?) |
How did you arrive at this conclusion!! You need to be clear on what you're trying to achieve. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I thought that X'E1' = 1 (otherwise how could I convert X'E1'?) |
Hex F1 is a one (1).
Suggest you edit a new little member and type in the alphabet (Upper case) and numbers zero thru nine. Then look at these in hex (HEX ON).
For more good info, entering the data in hex, create 16 lines with the hex values from 00-0F thru F0-FF. You will be able to see all 256 characters and the value they display on your terminal. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Theone1987,
The single hexadecimal value you show is NOT any standard type of numeric. It's not PD - it's not ZD - I have no idea what it is. It's impossible to discern a pattern from one example.
You need to explain the rules for converting this non-standard type of numeric before anyone can help you. |
|
Back to top |
|
|
|