You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b9c1ef
Browse filesBrowse the repository at this point in the historyBrowse files
/// <summary>Rounds a BigDecimal value to the nearest integral value. A parameter specifies how to round the value if it is midway between two numbers.</summary>
/// <summary>Rounds a <see cref="BigDecimal" /> value to the nearest integral value. A parameter specifies how to round the value if it is midway between two numbers.</summary>
thrownewNotImplementedException($"You must have added a new {nameof(RoundingStrategy)} enum value but not implemented it. Please add the implementation here.");
1227
+
}
1214
1228
}
1215
1229
returnwholePart;
1216
1230
}
1217
1231
1218
-
/// <summary>Rounds a BigDecimal value off at the specified level of precision. A parameter specifies how to round the value if it is midway between two values.</summary>
1232
+
/// <summary>Rounds a <see cref="BigDecimal" /> value off at the specified level of precision. A parameter specifies how to round the value if it is midway between two values.</summary>
/// Rounds a BigDecimal to the given number of digits to the right of the decimal point.
1285
-
/// Pass a negative precision value to zero out abs(precision) many digits to the left of the decimal point, in a manner that mimics Excel's ROUNDDOWN function.
1286
-
/// A zero or greater precision value performs rounding in the standard way.
1287
-
/// Call <see cref="Truncate(BigDecimal, int)"/> for a method that is functionally identical to Excel's ROUNDDOWN function.
1278
+
/// Rounds a <see cref="BigDecimal" /> to the given number of digits to the right of the decimal point.
1288
1279
/// </summary>
1280
+
/// <remarks>
1281
+
/// Pass a negative precision value to zero out <c>abs(precision)</c> many digits to the left of the decimal point, in a manner that mimics Excel's ROUNDDOWN function.<br />
1282
+
/// A zero or greater precision value performs rounding in the standard way.<br />
1283
+
/// Call <see cref="Truncate(BigDecimal, int)"/> for a method that is functionally identical to Excel's ROUNDDOWN function.
/// <summary>Rounds a <see cref="BigDecimal" /> up to the next largest integer value, even if the fractional part is less than one half. Equivalent to obtaining the floor and then adding one.</summary>
0 commit comments