C# Class Monobjc.Foundation.NSDecimal

Mostra file Open project: Monobjc/monobjc Class Usage Examples

Public Properties

Property Type Description
fields int
mantissa1 ushort

Public Methods

Method Description
DoubleValue ( NSDecimal value ) : double
FloatValue ( NSDecimal value ) : float
FromDouble ( double value ) : NSDecimal
FromFloat ( float value ) : NSDecimal
FromInt ( int value ) : NSDecimal
FromInteger ( NSInteger value ) : NSDecimal
FromLongLong ( long value ) : NSDecimal
FromShort ( short value ) : NSDecimal
FromString ( NSString value ) : NSDecimal
FromUnsignedInt ( uint value ) : NSDecimal
FromUnsignedInteger ( NSUInteger value ) : NSDecimal
FromUnsignedLongLong ( ulong value ) : NSDecimal
FromUnsignedShort ( ushort value ) : NSDecimal
IntValue ( NSDecimal value ) : int
IntegerValue ( NSDecimal value ) : NSInteger
LongLongValue ( NSDecimal value ) : long
ShortValue ( NSDecimal value ) : short
StringValue ( NSDecimal value ) : NSString
ToString ( ) : String

Returns the a string representation of this instance.

UnsignedIntValue ( NSDecimal value ) : uint
UnsignedIntegerValue ( NSDecimal value ) : NSUInteger
UnsignedLongLongValue ( NSDecimal value ) : ulong
UnsignedShortValue ( NSDecimal value ) : ushort

Method Details

DoubleValue() public static method

public static DoubleValue ( NSDecimal value ) : double
value NSDecimal
return double

FloatValue() public static method

public static FloatValue ( NSDecimal value ) : float
value NSDecimal
return float

FromDouble() public static method

public static FromDouble ( double value ) : NSDecimal
value double
return NSDecimal

FromFloat() public static method

public static FromFloat ( float value ) : NSDecimal
value float
return NSDecimal

FromInt() public static method

public static FromInt ( int value ) : NSDecimal
value int
return NSDecimal

FromInteger() public static method

public static FromInteger ( NSInteger value ) : NSDecimal
value NSInteger
return NSDecimal

FromLongLong() public static method

public static FromLongLong ( long value ) : NSDecimal
value long
return NSDecimal

FromShort() public static method

public static FromShort ( short value ) : NSDecimal
value short
return NSDecimal

FromString() public static method

public static FromString ( NSString value ) : NSDecimal
value NSString
return NSDecimal

FromUnsignedInt() public static method

public static FromUnsignedInt ( uint value ) : NSDecimal
value uint
return NSDecimal

FromUnsignedInteger() public static method

public static FromUnsignedInteger ( NSUInteger value ) : NSDecimal
value NSUInteger
return NSDecimal

FromUnsignedLongLong() public static method

public static FromUnsignedLongLong ( ulong value ) : NSDecimal
value ulong
return NSDecimal

FromUnsignedShort() public static method

public static FromUnsignedShort ( ushort value ) : NSDecimal
value ushort
return NSDecimal

IntValue() public static method

public static IntValue ( NSDecimal value ) : int
value NSDecimal
return int

IntegerValue() public static method

public static IntegerValue ( NSDecimal value ) : NSInteger
value NSDecimal
return NSInteger

LongLongValue() public static method

public static LongLongValue ( NSDecimal value ) : long
value NSDecimal
return long

ShortValue() public static method

public static ShortValue ( NSDecimal value ) : short
value NSDecimal
return short

StringValue() public static method

public static StringValue ( NSDecimal value ) : NSString
value NSDecimal
return NSString

ToString() public method

Returns the a string representation of this instance.
public ToString ( ) : String
return String

UnsignedIntValue() public static method

public static UnsignedIntValue ( NSDecimal value ) : uint
value NSDecimal
return uint

UnsignedIntegerValue() public static method

public static UnsignedIntegerValue ( NSDecimal value ) : NSUInteger
value NSDecimal
return NSUInteger

UnsignedLongLongValue() public static method

public static UnsignedLongLongValue ( NSDecimal value ) : ulong
value NSDecimal
return ulong

UnsignedShortValue() public static method

public static UnsignedShortValue ( NSDecimal value ) : ushort
value NSDecimal
return ushort

Property Details

fields public_oe property

A 32 bit field that contains: the exponent (8 bits), the length (4 bits), whether this instance is negative (1 bit), whether this instance is compact (1 bit) and 18 bits reserved for future use.

public int fields
return int

mantissa1 public_oe property

The mantissa
public ushort mantissa1
return ushort