I did some editing to remove 0s from both omnibuses and non-omnibuses. Worked as expected.
Code:
program:
if '^omnibus$' inlist_field '#admintags'
&& $series_index !=#0
then
series_start = floor($series_index);
fraction = fractional_part($series_index);
if fraction ==# 0 then
result = series_start
else
series_end = floor(fraction*100);
if series_end >=# 0 then
result = series_start & '-' & series_end
fi
fi
elif
$series_index ==#0
then
result = ''
else
result = $series_index
fi;
result
Note the icons on the last column - signifies omnibus.
I have just one book that uses 6.1 for 6-10 (Calibre removes the trailing 0.) Suggestions? I was thinking of splitting it as I have a few books from the series in physical format anyways.