FW: Method for determining transposition when comparing two numer
ic v alues
Chris Sharman
Chris.Sharman@ccagroup.co.uk
Mon, 20 Nov 2000 08:40:45 +0000
>If I remember correctly the difference will always be divisible by 9. In
>the example you give the result is 90000. The size of the difference gives
>an indication of where the transposition occurs.
Correct. But not all differences of 9X are the result of transposition.
It's a good first step though.
Subsequent steps would have to work on the ascii representation of the numbers.
But what's the problem you're trying to solve ?
Data entry transpositions are better rejected at entry by means of a check
digit.
Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.