I got the solution to this problem. As I stated earlier that i cannot give decimal point values such as .97, i modified my sort step into 2 parts. In the first sort, i divide the field by 100 and in the second step i multiplied the field by 97 which effectively makes it to .97.
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Good to hear it is working - thank you for letting us know.
If you want to save a step (or if the volume is huge) you might want to try the code Arun suggested above. It should accomplish the multiply and the divide in the same step.
Yes, I haven't checked the code what Arun suggested. It makes more sense, i will try that later with a small change like first Div by 100 and then multiply by 97.
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
Quote:
i will try that later with a small change like first Div by 100 and then multiply by 97.
I believe changing the order will not make any difference. One more thing, you multply by 0.97 and then convert to ZD which means you lose the decimal points. Are you not interested in the decimal part?