C# Class NumUtils.Utils

Mostra file Open project: cybergibbons/bitfi_09072019

Public Methods

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

Private Methods

Method 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 method

public static Exp10 ( BigInteger b, Int32 n ) : BigInteger
b BigInteger
n Int32
return BigInteger

FormatMoney() public static method

public static FormatMoney ( BigInteger v, int decimals ) : string
v BigInteger
decimals int
return string

ParseMoney() public static method

public static ParseMoney ( string str, int decimals ) : BigInteger
str string
decimals int
return BigInteger