diff --git a/Tranga/Chapter.cs b/Tranga/Chapter.cs index 035c363..72f2ace 100644 --- a/Tranga/Chapter.cs +++ b/Tranga/Chapter.cs @@ -21,8 +21,6 @@ public struct Chapter this.chapterNumber = chapterNumber; this.url = url; string chapterName = string.Concat((name ?? "").Split(Path.GetInvalidFileNameChars())); - double multiplied = Convert.ToDouble(chapterNumber, new NumberFormatInfo() { NumberDecimalSeparator = "." }) * - Convert.ToInt32(volumeNumber); - this.fileName = $"{chapterName} - V{volumeNumber}C{chapterNumber} - {multiplied.ToString(new NumberFormatInfo() { NumberDecimalSeparator = "." })}"; + this.fileName = $"{chapterName} - V{volumeNumber}C{chapterNumber} - {volumeNumber}{chapterNumber}"; } } \ No newline at end of file