BitcoinLib.BRL.Util_BRL.getBRLtoBtc C# (CSharp) Метод

getBRLtoBtc() публичный статический Метод

Retorna o valor em R$ convertido para Bitcoin.
public static getBRLtoBtc ( double valor = 1.00, string apiCode = null ) : double
valor double Valor a ser convertido em Bitcoin.
apiCode string Cádigo da API.
Результат double
        public static double getBRLtoBtc(double valor = 1.00, string apiCode = null)
        {
            var _exR = new global::BitcoinLib.BlockchainAPI.ExchangeRates(apiCode);
            return _exR.ToBTC(valor, currencySymbolBRL);
        }