C# Class NumUtils.Utils

Afficher le fichier Open project: cybergibbons/bitfi_09072019

Méthodes publiques

Méthode Description
Exp10 ( BigInteger b, Int32 n ) : BigInteger
FormatMoney ( BigInteger v, int decimals ) : string
ParseMoney ( string str, int decimals ) : BigInteger

Private Methods

Méthode Description
FormatMoneyFull ( BigInteger money, int decimals ) : string
PadLeft ( string str, Int32 len, char c ) : string
TrimRight ( string str, char c ) : string

Method Details

Exp10() public static méthode

public static Exp10 ( BigInteger b, Int32 n ) : BigInteger
b BigInteger
n Int32
Résultat BigInteger

FormatMoney() public static méthode

public static FormatMoney ( BigInteger v, int decimals ) : string
v BigInteger
decimals int
Résultat string

ParseMoney() public static méthode

public static ParseMoney ( string str, int decimals ) : BigInteger
str string
decimals int
Résultat BigInteger