NMath.Round Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Round(nfloat, MidpointRounding) | |
Round(nfloat) | |
Round(nfloat, Int32) | |
Round(nfloat, Int32, MidpointRounding) |
Round(nfloat, MidpointRounding)
public static nfloat Round (nfloat value, MidpointRounding mode);
static member Round : nfloat * MidpointRounding -> nfloat
Parameters
- value
- nfloat
- mode
- MidpointRounding
Returns
Applies to
Round(nfloat)
Round(nfloat, Int32)
Round(nfloat, Int32, MidpointRounding)
public static nfloat Round (nfloat value, int digits, MidpointRounding mode);
static member Round : nfloat * int * MidpointRounding -> nfloat
Parameters
- value
- nfloat
- digits
- Int32
- mode
- MidpointRounding