Edit

Share via


NSDecimalNumber.Rounding(NSObject) Method

Definition

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.

Applies to