diff --git a/src/Math/MathHelper.cs b/src/Math/MathHelper.cs index 5d582f25..67f7d0a7 100644 --- a/src/Math/MathHelper.cs +++ b/src/Math/MathHelper.cs @@ -341,7 +341,7 @@ namespace MoonWorks.Math /// public static float Normalize(short value, short min, short max, short newMin, short newMax) { - return ((value - min) * (newMax - newMin)) / (max - min) + newMin; + return ((float) (value - min) * (newMax - newMin)) / (max - min) + newMin; } ///