terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Decimal Struct Reference
+ Inheritance diagram for System.Decimal:
+ Collaboration 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)
 
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 (global::System.IFormatProvider provider)
 
string ToString (string format, global::System.IFormatProvider provider)
 
bool TryFormat (global::System.Span< char > destination, out int charsWritten, global::System.ReadOnlySpan< char > format=default(global::System.ReadOnlySpan< char >), global::System.IFormatProvider provider=null)
 
global::System.TypeCode GetTypeCode ()
 

Static Public Member Functions

static decimal Parse (string s, global::System.IFormatProvider provider)
 
static decimal Parse (string s, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider)
 
static bool TryParse (string s, global::System.Globalization.NumberStyles style, global::System.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 (ref decimal value)
 

Properties

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

Private Member Functions

void System.Runtime.Serialization.IDeserializationCallback. OnDeserialization (object sender)
 
 Decimal (in decimal d, int flags)
 
bool System.IConvertible. ToBoolean (global::System.IFormatProvider provider)
 
char System.IConvertible. ToChar (global::System.IFormatProvider provider)
 
sbyte System.IConvertible. ToSByte (global::System.IFormatProvider provider)
 
byte System.IConvertible. ToByte (global::System.IFormatProvider provider)
 
short System.IConvertible. ToInt16 (global::System.IFormatProvider provider)
 
ushort System.IConvertible. ToUInt16 (global::System.IFormatProvider provider)
 
int System.IConvertible. ToInt32 (global::System.IFormatProvider provider)
 
uint System.IConvertible. ToUInt32 (global::System.IFormatProvider provider)
 
long System.IConvertible. ToInt64 (global::System.IFormatProvider provider)
 
ulong System.IConvertible. ToUInt64 (global::System.IFormatProvider provider)
 
float System.IConvertible. ToSingle (global::System.IFormatProvider provider)
 
double System.IConvertible. ToDouble (global::System.IFormatProvider provider)
 
decimal System.IConvertible. ToDecimal (global::System.IFormatProvider provider)
 
global::System.DateTime System.IConvertible. ToDateTime (global::System.IFormatProvider provider)
 
object System.IConvertible. ToType (global::System.Type type, global::System.IFormatProvider provider)
 

Static Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 18 of file Decimal.cs.


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