Lots of Bugfixes (#2356)
This commit is contained in:
parent
86e931dd9a
commit
226d6831df
47 changed files with 359 additions and 225 deletions
|
@ -185,12 +185,12 @@ public class ComicInfo
|
|||
{
|
||||
try
|
||||
{
|
||||
if (float.TryParse(Number, out var chpCount) && chpCount > 0)
|
||||
if (float.TryParse(Number, CultureInfo.InvariantCulture, out var chpCount) && chpCount > 0)
|
||||
{
|
||||
return (int) Math.Floor(chpCount);
|
||||
}
|
||||
|
||||
if (float.TryParse(Volume, out var volCount) && volCount > 0)
|
||||
if (float.TryParse(Volume, CultureInfo.InvariantCulture, out var volCount) && volCount > 0)
|
||||
{
|
||||
return (int) Math.Floor(volCount);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue