Thursday, January 10, 2013

ADF : Convert String case[UPPER, lower, Init]

ADF : Convert String case[UPPER, lower, Init]
















-------------------------------------------------
 /*BigDecimal to Integer*/
    BigDecimal nom = new BigDecimal(450.9);
    Integer nomInt = nom.intValue();

    /*Integer to BigDecimal*/
    Integer cm = 45;
    BigDecimal cmBd = new BigDecimal(cm);
    /*Double to Integer*/
    double sys = 3;
    Integer sysInt = new Integer((int)sys);
    /*Integer to double*/
    Integer sd = 456;
    double sdDb = sd.doubleValue();