Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
System
Math.Math
Sign
System.Math.Math.Sign C# (CSharp) Method
Math.Math Class Documentation
Datei anzeigen
Open project: runefs/Marvin
Sign()
public
static
method
public
static
Sign
(
decimal
value
) :
int
value
decimal
return
int
public static int Sign (decimal value) { if (value > 0) return 1; return (value == 0)? 0: -1; }
Same methods
Math.Math::
Sign
(
double
value
) :
int
Math.Math::
Sign
(
float
value
) :
int
Math.Math::
Sign
(
int
value
) :
int
Math.Math::
Sign
(
long
value
) :
int
Math.Math::
Sign
(
sbyte
value
) :
int
Math.Math::
Sign
(
short
value
) :
int
Math.Math
Abs
Acos
Asin
Atan
Atan2
BigMul
Ceiling
Cos
Cosh
DivRem
Exp
Floor
IEEERemainder
Log
Log10
Math
Max
Min
Pow
Round
Round2
RoundAwayFromZero
Sign
Sin
Sinh
Sqrt
Tan
Tanh
Truncate