MonobjcMonobjc Documented Class Library
DecimalNumberWithDecimal Method (decimal)
NamespacesMonobjc.FoundationNSDecimalNumberDecimalNumberWithDecimal(NSDecimal)

Creates and returns an NSDecimalNumber object equivalent to a given NSDecimal structure.

Original signature is '+ (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDecimalNumber DecimalNumberWithDecimal(
	NSDecimal decimal
)
Public Shared Function DecimalNumberWithDecimal ( _
	decimal As NSDecimal _
) As NSDecimalNumber
public:
static NSDecimalNumber^ DecimalNumberWithDecimal(
	NSDecimal decimal
)
Parameters
decimal (NSDecimal)
An NSDecimal structure that specifies the value for the new decimal number object.
Return Value
An NSDecimalNumber object equivalent to decimal.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)