Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
System
Math.Math
Sign
System.Math.Math.Sign C# (CSharp) Méthode
Math.Math Class Documentation
Afficher le fichier
Open project: runefs/Marvin
Sign()
public
static
méthode
public
static
Sign
(
decimal
value
) :
int
value
decimal
Résultat
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