Renumbering decimal numbers

Advanced Renamer forum
#1 : 16/07-14 22:18
Alex
Alex
Posts: 1
I have a situation that involves renumbering a series of numbers that have decimals. Right now the decimal is being a separator and Advanced Renamer considers the number after the decimal to be a different number. Below is an example of what I want to do.

Original Renumbered
1000.00 1000.10
1000.00 1000.20
and so on, until
1000.00 1000.90
1000.00 1001.00

Is there a way to make it recognize that 1000.00 is a single number and not two separate numbers?

Thanks for the help.


16/07-14 22:18
#2 : 17/07-14 14:13
Kim Jensen
Kim Jensen
Administrator
Posts: 756
Reply to #1:
The renumbering feature of Advanced Renamer will only work with integer numbers and not decimal numbers. You will have to consider the number as two individual numbers.


17/07-14 14:13
#3 : 18/07-14 05:20
Tony
Tony
Posts: 3
Reply to #1:

AR executes its methods in order. It looks like you could remove the decimal with the first step, and then subsequent methods will be applied to the New Filename.

After you remove the decimal, the new number in your filename will be 100 times the Original Number. Make sure your methods account for this. After your methods are set, the last method should restore the decimal if you still need it.

Please let me know if that works for you.


18/07-14 05:20 - edited 18/07-14 05:21
#4 : 18/07-14 08:07
Kim Jensen
Kim Jensen
Administrator
Posts: 756
Reply to #3:
That is a good way to solve the problem. I didn't about that solution. As long as all the files have the same amount of decimals, this will work. I even think it can work with different lengths of decimals, but it will be more complex to solve.


18/07-14 08:07