Method DivRound
- Namespace
- DocWright.Core.Primitives
- Assembly
- DocWright.Core.dll
DivRound(long, long)
Divides two 64-bit integers, rounding the quotient half away from zero.
public static long DivRound(long value, long divisor)
Parameters
Returns
- long
The rounded quotient.
Exceptions
- DivideByZeroException
divisoris zero.- OverflowException
An intermediate value overflows a long.