How can i get the numbers from this filename then divide it by 80.
What i need to do is this:
filename: 00234-cf.jpg
step 1:
delete the 00 < – not needed, and the -cf.jpg
step 2:
shoul dbe left with 234, not either do:
234/80 or
234%80 ← in java and other languages this returns the whole number and not the decimal.
so for example of this filename, the result hopefully should be:
234%80 = 2 <— not 2.95 as i dont want the .95
another example:
012345-af.jpg:
12345%80 = 154
01204-gy.jpg
1204/80 = 15
do you koow what i mean?? and can you help me???
cheers