Quote:
Originally Posted by ownedbycats
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.
|
The template should produce "10" for "6.1". The fractional part (.1) is multipled by 100, producing "10".
Ahhh, I see. The fractional part of 6.1 can come out as ".099999999999" instead of ".1". To fix it, change line 10 to be
Code:
series_end = round(fraction * 100);