Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/Extensions/TimeExtensions.cs')
-rw-r--r--UVtools.Core/Extensions/TimeExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/Extensions/TimeExtensions.cs b/UVtools.Core/Extensions/TimeExtensions.cs
index 6b85322..cc90453 100644
--- a/UVtools.Core/Extensions/TimeExtensions.cs
+++ b/UVtools.Core/Extensions/TimeExtensions.cs
@@ -26,7 +26,7 @@ namespace UVtools.Core.Extensions
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
- public static uint SecondsToMillisecondsUint(float value) => (uint)value * 1000;
+ public static uint SecondsToMillisecondsUint(float value) => (uint)(value * 1000f);
/// <summary>
/// Converts milliseconds to seconds