NSDecimalNumber.Rounding(NSObject) 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.
Returns a number by rounding this according to the specified behavior.
[Foundation.Export("decimalNumberByRoundingAccordingToBehavior:")]
public virtual Foundation.NSDecimalNumber Rounding (Foundation.NSObject behavior);
abstract member Rounding : Foundation.NSObject -> Foundation.NSDecimalNumber
override this.Rounding : Foundation.NSObject -> Foundation.NSDecimalNumber
Parameters
- behavior
- NSObject
Returns
- Attributes
Remarks
Application developers who wish to specify a value other than NSDecimalNumber.DefaultBehavior must manually bind the iOS NSDecimalNumberBehaviors protocol.