C# Class Qowaiv.PercentageExtensions

Contains extensions for Percentage.
Afficher le fichier Open project: Corniel/Qowaiv

Méthodes publiques

Méthode Description
Add ( this d, Percentage p ) : Decimal

Adds the specified percentage to the Decimal.

Add ( this d, Percentage p ) : Double

Adds the specified percentage to the Double.

Add ( this d, Percentage p ) : Int16

Adds the specified percentage to the Int64.

Add ( this d, Percentage p ) : Int32

Adds the specified percentage to the Int32.

Add ( this d, Percentage p ) : System.Int64

Adds the specified percentage to the Int16.

Add ( this d, Percentage p ) : System.Single

Adds the specified percentage to the Single.

Divide ( this d, Percentage p ) : Decimal

Divides the Decimal by the specified percentage.

Divide ( this d, Percentage p ) : Double

Divides the Double by the specified percentage.

Divide ( this d, Percentage p ) : Int16

Divides the Int16 by the specified percentage.

Divide ( this d, Percentage p ) : Int32

Divides the Int32 by the specified percentage.

Divide ( this d, Percentage p ) : System.Int64

Divides the Int64 by the specified percentage.

Divide ( this d, Percentage p ) : System.Single

Divides the Single by the specified percentage.

Multiply ( this d, Percentage p ) : Decimal

Gets the specified percentage of the Decimal.

Multiply ( this d, Percentage p ) : Double

Gets the specified percentage of the Double.

Multiply ( this d, Percentage p ) : Int16

Gets the specified percentage of the Int16.

Multiply ( this d, Percentage p ) : Int32

Gets the specified percentage of the Int32.

Multiply ( this d, Percentage p ) : System.Int64

Gets the specified percentage of the Int64.

Multiply ( this d, Percentage p ) : System.Single

Gets the specified percentage of the Single.

Subtract ( this d, Percentage p ) : Decimal

Subtracts the specified percentage to the Decimal.

Subtract ( this d, Percentage p ) : Double

Subtracts the specified percentage to the Double.

Subtract ( this d, Percentage p ) : Int16

Subtracts the specified percentage to the Int64.

Subtract ( this d, Percentage p ) : Int32

Subtracts the specified percentage to the Int32.

Subtract ( this d, Percentage p ) : System.Int64

Subtracts the specified percentage to the Int16.

Subtract ( this d, Percentage p ) : System.Single

Subtracts the specified percentage to the Single.

Private Methods

Méthode Description
Add ( this d, Percentage p ) : UInt16
Add ( this d, Percentage p ) : UInt32
Add ( this d, Percentage p ) : System.UInt64
Divide ( this d, Percentage p ) : UInt16
Divide ( this d, Percentage p ) : UInt32
Divide ( this d, Percentage p ) : System.UInt64
Multiply ( this d, Percentage p ) : UInt16
Multiply ( this d, Percentage p ) : UInt32
Multiply ( this d, Percentage p ) : System.UInt64
Subtract ( this d, Percentage p ) : UInt16
Subtract ( this d, Percentage p ) : UInt32
Subtract ( this d, Percentage p ) : System.UInt64

Method Details

Add() public static méthode

Adds the specified percentage to the Decimal.
public static Add ( this d, Percentage p ) : Decimal
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat Decimal

Add() public static méthode

Adds the specified percentage to the Double.
public static Add ( this d, Percentage p ) : Double
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat Double

Add() public static méthode

Adds the specified percentage to the Int64.
public static Add ( this d, Percentage p ) : Int16
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat System.Int16

Add() public static méthode

Adds the specified percentage to the Int32.
public static Add ( this d, Percentage p ) : Int32
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat System.Int32

Add() public static méthode

Adds the specified percentage to the Int16.
public static Add ( this d, Percentage p ) : System.Int64
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat System.Int64

Add() public static méthode

Adds the specified percentage to the Single.
public static Add ( this d, Percentage p ) : System.Single
d this /// The value to add a percentage to. ///
p Percentage /// The percentage to add. ///
Résultat System.Single

Divide() public static méthode

Divides the Decimal by the specified percentage.
public static Divide ( this d, Percentage p ) : Decimal
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat Decimal

Divide() public static méthode

Divides the Double by the specified percentage.
public static Divide ( this d, Percentage p ) : Double
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat Double

Divide() public static méthode

Divides the Int16 by the specified percentage.
public static Divide ( this d, Percentage p ) : Int16
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat System.Int16

Divide() public static méthode

Divides the Int32 by the specified percentage.
public static Divide ( this d, Percentage p ) : Int32
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat System.Int32

Divide() public static méthode

Divides the Int64 by the specified percentage.
public static Divide ( this d, Percentage p ) : System.Int64
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat System.Int64

Divide() public static méthode

Divides the Single by the specified percentage.
public static Divide ( this d, Percentage p ) : System.Single
d this /// The value to divide. ///
p Percentage /// The percentage to divide to. ///
Résultat System.Single

Multiply() public static méthode

Gets the specified percentage of the Decimal.
public static Multiply ( this d, Percentage p ) : Decimal
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat Decimal

Multiply() public static méthode

Gets the specified percentage of the Double.
public static Multiply ( this d, Percentage p ) : Double
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat Double

Multiply() public static méthode

Gets the specified percentage of the Int16.
public static Multiply ( this d, Percentage p ) : Int16
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat System.Int16

Multiply() public static méthode

Gets the specified percentage of the Int32.
public static Multiply ( this d, Percentage p ) : Int32
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat System.Int32

Multiply() public static méthode

Gets the specified percentage of the Int64.
public static Multiply ( this d, Percentage p ) : System.Int64
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat System.Int64

Multiply() public static méthode

Gets the specified percentage of the Single.
public static Multiply ( this d, Percentage p ) : System.Single
d this /// The value to get a percentage from. ///
p Percentage /// The percentage. ///
Résultat System.Single

Subtract() public static méthode

Subtracts the specified percentage to the Decimal.
public static Subtract ( this d, Percentage p ) : Decimal
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat Decimal

Subtract() public static méthode

Subtracts the specified percentage to the Double.
public static Subtract ( this d, Percentage p ) : Double
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat Double

Subtract() public static méthode

Subtracts the specified percentage to the Int64.
public static Subtract ( this d, Percentage p ) : Int16
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat System.Int16

Subtract() public static méthode

Subtracts the specified percentage to the Int32.
public static Subtract ( this d, Percentage p ) : Int32
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat System.Int32

Subtract() public static méthode

Subtracts the specified percentage to the Int16.
public static Subtract ( this d, Percentage p ) : System.Int64
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat System.Int64

Subtract() public static méthode

Subtracts the specified percentage to the Single.
public static Subtract ( this d, Percentage p ) : System.Single
d this /// The value to Subtract a percentage from. ///
p Percentage /// The percentage to Subtract. ///
Résultat System.Single