diff options
Diffstat (limited to 'UVtools.Core/Extensions/TimeExtensions.cs')
-rw-r--r-- | UVtools.Core/Extensions/TimeExtensions.cs | 2 |
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 |