terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Decimal Struct Reference
+ Inheritance diagram for System.Decimal:

Classes

struct  DecCalc
 

Public Member Functions

 Decimal (int value)
 
 Decimal (uint value)
 
 Decimal (long value)
 
 Decimal (ulong value)
 
 Decimal (float value)
 
 Decimal (double value)
 
 Decimal (int[] bits)
 
 Decimal (int lo, int mid, int hi, bool isNegative, byte scale)
 
void IDeserializationCallback. OnDeserialization (object sender)
 
int CompareTo (object value)
 
int CompareTo (decimal value)
 
override bool Equals (object value)
 
bool Equals (decimal value)
 
override int GetHashCode ()
 
override string ToString ()
 
string ToString (IFormatProvider provider)
 
string ToString (string format, IFormatProvider provider)
 
bool TryFormat (Span< char > destination, [Out] int charsWritten, [Optional] ReadOnlySpan< char > format, [Optional] IFormatProvider provider)
 
TypeCode GetTypeCode ()
 
bool IConvertible. ToBoolean (IFormatProvider provider)
 
char IConvertible. ToChar (IFormatProvider provider)
 
sbyte IConvertible. ToSByte (IFormatProvider provider)
 
byte IConvertible. ToByte (IFormatProvider provider)
 
short IConvertible. ToInt16 (IFormatProvider provider)
 
ushort IConvertible. ToUInt16 (IFormatProvider provider)
 
int IConvertible. ToInt32 (IFormatProvider provider)
 
uint IConvertible. ToUInt32 (IFormatProvider provider)
 
long IConvertible. ToInt64 (IFormatProvider provider)
 
ulong IConvertible. ToUInt64 (IFormatProvider provider)
 
float IConvertible. ToSingle (IFormatProvider provider)
 
double IConvertible. ToDouble (IFormatProvider provider)
 
decimal IConvertible. ToDecimal (IFormatProvider provider)
 
DateTime IConvertible. ToDateTime (IFormatProvider provider)
 
object IConvertible. ToType (Type type, IFormatProvider provider)
 
int CompareTo (T other)
 
int CompareTo (T other)
 
bool Equals (T other)
 

Static Public Member Functions

static decimal Parse (string s, IFormatProvider provider)
 
static decimal Parse (string s, NumberStyles style, IFormatProvider provider)
 
static bool TryParse (string s, NumberStyles style, IFormatProvider provider, [Out] decimal result)
 
static int[] GetBits (decimal d)
 
static decimal Negate (decimal d)
 
static decimal Round (decimal d, int decimals)
 
static byte ToByte (decimal value)
 
static sbyte ToSByte (decimal value)
 
static short ToInt16 (decimal value)
 
static double ToDouble (decimal d)
 
static int ToInt32 (decimal d)
 
static long ToInt64 (decimal d)
 
static ushort ToUInt16 (decimal value)
 
static uint ToUInt32 (decimal d)
 
static ulong ToUInt64 (decimal d)
 
static float ToSingle (decimal d)
 
static decimal Truncate (decimal d)
 
static implicit operator decimal (byte value)
 
static implicit operator decimal (sbyte value)
 
static implicit operator decimal (short value)
 
static implicit operator decimal (ushort value)
 
static implicit operator decimal (char value)
 
static implicit operator decimal (int value)
 
static implicit operator decimal (uint value)
 
static implicit operator decimal (long value)
 
static implicit operator decimal (ulong value)
 
static operator decimal (float value)
 
static operator decimal (double value)
 
static operator int (decimal value)
 
static operator long (decimal value)
 
static operator ulong (decimal value)
 
static operator float (decimal value)
 
static operator double (decimal value)
 
static decimal operator- (decimal d1, decimal d2)
 
static decimal operator* (decimal d1, decimal d2)
 
static decimal operator/ (decimal d1, decimal d2)
 
static bool operator== (decimal d1, decimal d2)
 
static bool operator!= (decimal d1, decimal d2)
 
static bool operator< (decimal d1, decimal d2)
 
static bool operator<= (decimal d1, decimal d2)
 
static bool operator> (decimal d1, decimal d2)
 
static bool operator>= (decimal d1, decimal d2)
 
static Decimal ()
 

Static Public Attributes

const decimal Zero = 0m
 
const decimal One = 1m
 
const decimal MinusOne = -1m
 
const decimal MaxValue = 79228162514264337593543950335m
 
const decimal MinValue = -79228162514264337593543950335m
 

Static Package Functions

static uint DecDivMod1E9 (decimal value)
 

Properties

uint High [get]
 
uint Low [get]
 
uint Mid [get]
 
bool IsNegative [get]
 
int Scale [get]
 
ulong Low64 [get]
 

Private Member Functions

 Decimal ([In] decimal d, int flags)
 

Static Private Member Functions

static decimal.DecCalc AsMutable (decimal d)
 
static bool IsValid (int flags)
 
static decimal Round (decimal d, int decimals, MidpointRounding mode)
 
static void Truncate (decimal d)
 

Private Attributes

readonly int flags
 
readonly int hi
 
readonly int lo
 
readonly int mid
 
readonly ulong ulomidLE
 

Detailed Description

Definition at line 12 of file Decimal.cs.


The documentation for this struct was generated from the following file: