src/Bitmex.Client.Websocket/Utils/BitmexConverter.cs
/// <summary>
/// Convert long value into BTC, according to from currency.
/// For example: 'XBt' will be converted like value/10^8
/// </summary>
/// <param name="from">Currency (XBt, XBT, BTC, etc)</param>
/// <param name="value">Original value</param>
/// <returns>Converted value</returns>
Convert long value into BTC, according to from currency.
For example: 'XBt' will be converted like value/10^8
Convert long value into BTC according to from currency . For example : ' XBt ' will be converted like value / 10^8
public static decimal ConvertToBtcDecimal(string from, long value)
        {
            var valueDouble = Convert.ToDecimal(value);
            return ConvertToBtc(from, valueDouble);
        }
public static decimal ConvertToBtcDecimal ( string from , long value ) { var valueDouble = Convert . ToDecimal ( value ) ; return ConvertToBtc ( from , valueDouble ) ; }
Convert long value into BTC, according to from currency.
Convert long value into BTC according to from currency .
None
from
string
Currency (XBt, XBT, BTC, etc)
Currency ( XBt XBT BTC etc )
value
long
None