Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

RoundingHelper to make Round method private

KrzysztofPajakdf5ed08e7b62
diff --git a/src/Business/Grand.Business.Core/Extensions/RoundingHelper.cs b/src/Business/Grand.Business.Core/Extensions/RoundingHelper.cs
index 1f2a3ac4e..1fd0f70b7 100644
--- a/src/Business/Grand.Business.Core/Extensions/RoundingHelper.cs
+++ b/src/Business/Grand.Business.Core/Extensions/RoundingHelper.cs
@@ -25,7 +25,7 @@ public static class RoundingHelper
/// <param name="roundingType">The rounding type</param>
/// <param name="midpointRounding">Mid point rounding</param>
/// <returns>Rounded value</returns>
- public static double Round(this double value, int doubles, RoundingType roundingType,
+ private static double Round(this double value, int doubles, RoundingType roundingType,
MidpointRounding midpointRounding)
{
//default round (Rounding001)