Package org.jquantlib.math

Examples of org.jquantlib.math.Rounding$ClosestRounding


      public
        BDTCurrency() {
            Data bdtData =
                                        new Data("Bangladesh taka", "BDT", 50,
                                                 "Bt", "", 100,
                                                 new Rounding(),
                                                 "%3% %1$.2f");
            data_ = bdtData;
        }
View Full Code Here


      public
        CNYCurrency() {
            Data cnyData
                                          =new Data("Chinese yuan", "CNY", 156,
                                                   "Y", "", 100,
                                                   new Rounding(),
                                                   "%3% %1$.2f");
            data_ = cnyData;
        }
View Full Code Here

      public
        HKDCurrency() {
            Data hkdData
                                      =new Data("Honk Kong dollar", "HKD", 344,
                                               "HK$", "", 100,
                                               new Rounding(),
                                               "%3% %1$.2f");
            data_ = hkdData;
        }
View Full Code Here

      public
        ILSCurrency() {
            Data ilsData
                                        =new Data("Israeli shekel", "ILS", 376,
                                                 "NIS", "", 100,
                                                 new Rounding(),
                                                 "%1$.2f %3%");
            data_ = ilsData;
        }
View Full Code Here

      public
        INRCurrency() {
            Data inrData
                                          =new Data("Indian rupee", "INR", 356,
                                                   "Rs", "", 100,
                                                   new Rounding(),
                                                   "%3% %1$.2f");
            data_ = inrData;
        }
View Full Code Here

      public
        IQDCurrency() {
            Data iqdData
                                           =new Data("Iraqi dinar", "IQD", 368,
                                                    "ID", "", 1000,
                                                    new Rounding(),
                                                    "%2% %1$.3f");
            data_ = iqdData;
        }
View Full Code Here

      public
        IRRCurrency() {
            Data irrData
                                          =new Data("Iranian rial", "IRR", 364,
                                                   "Rls", "", 1,
                                                   new Rounding(),
                                                   "%3% %1$.2f");
            data_ = irrData;
        }
View Full Code Here

      public
        JPYCurrency() {
            Data jpyData
                                          =new Data("Japanese yen", "JPY", 392,
                                                   "\\xA5", "", 100,
                                                   new Rounding(),
                                                   "%3% %1$.0f");
            data_ = jpyData;
        }
View Full Code Here

      public
        KRWCurrency() {
            Data krwData
                                      =new Data("South-Korean won", "KRW", 410,
                                               "W", "", 100,
                                               new Rounding(),
                                               "%3% %1$.0f");
            data_ = krwData;
        }
View Full Code Here

      public
        KWDCurrency() {
            Data kwdData
                                         =new Data("Kuwaiti dinar", "KWD", 414,
                                                  "KD", "", 1000,
                                                  new Rounding(),
                                                  "%3% %1$.3f");
            data_ = kwdData;
        }
View Full Code Here

TOP

Related Classes of org.jquantlib.math.Rounding$ClosestRounding

Copyright © 2018 www.massapicom. 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.