@ownedbycats, try this version.
I removed the rounding when saving the reading progress. Now it only rounds when displaying. It should reflect the exact page count now.
P.S.: You need to remove the round() function from your template too, or it won't work. If you want, you can format your reading progress column as '{:.0f}%', so it will round when displaying in your library (without losing the real value). That's supposing you column's type is float.
Last edited by thiago.eec; 10-10-2024 at 07:53 PM.
Reason: Removed test version.
|