diff --git a/pk3DS/GarcUtil.cs b/pk3DS/GarcUtil.cs index 4351f39..9cd55cf 100644 --- a/pk3DS/GarcUtil.cs +++ b/pk3DS/GarcUtil.cs @@ -48,7 +48,7 @@ private static void GARC_UnpackProgressed(object sender, GARC.UnpackProgressedEv if (Progress.InvokeRequired) Progress.Invoke((MethodInvoker)(() => Progress.PerformStep())); else Progress.PerformStep(); - string update = $"{e.Current / e.Total:P2} - {e.Current}/{e.Total}"; + string update = $"{((double)e.Current / e.Total):P2} - {e.Current}/{e.Total}"; if (Label.InvokeRequired) { Label.Invoke((MethodInvoker)delegate { Label.Text = update; });