Examples of conversionRate()


Examples of com.knowgate.math.webservices.CurrencyConvertorSoap_PortType.conversionRate()

    double dRate = 0;

    try {
      CurrencyConvertorLocator oLocator = new CurrencyConvertorLocator();
      CurrencyConvertorSoap_PortType oConvertor = oLocator.getCurrencyConvertorSoap();
      dRate = oConvertor.conversionRate(com.knowgate.math.webservices.Currency.fromString(alphaCode()),
                            com.knowgate.math.webservices.Currency.fromString(oTarget.alphaCode()));
 
    } catch (Exception xcpt) {
      if (DebugFile.trace) {
        DebugFile.writeln(xcpt.getClass().getName()+" "+xcpt.getMessage());
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.