diff --git a/Tranga/Chapter.cs b/Tranga/Chapter.cs index 8d734c2..17c21f5 100644 --- a/Tranga/Chapter.cs +++ b/Tranga/Chapter.cs @@ -25,7 +25,7 @@ public struct Chapter { NumberDecimalSeparator = "." }; - decimal orderNumber = Math.Floor(Convert.ToDecimal(volumeNumber) * Convert.ToDecimal(chapterNumber, nfi)); - this.fileName = $"{chapterName} - V{volumeNumber}C{chapterNumber} - {orderNumber.ToString(nfi)}"; + decimal orderNumber = Convert.ToDecimal(volumeNumber) * Convert.ToDecimal(chapterNumber, nfi); + this.fileName = $"{chapterName} - V{volumeNumber}C{chapterNumber} - {decimal.Round(orderNumber, 1).ToString(nfi)}"; } } \ No newline at end of file