Subversion Repositories SmartDukaan

Rev

Rev 34685 | Rev 35084 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34685 Rev 35064
Line 91... Line 91...
91
            long reminder = value / 100000;
91
            long reminder = value / 100000;
92
            long quitonent = value % 100000;
92
            long quitonent = value % 100000;
93
            String secondval = String.format("%05d", quitonent);
93
            String secondval = String.format("%05d", quitonent);
94
            secondval = secondval.substring(0, 2);
94
            secondval = secondval.substring(0, 2);
95
            finalval = reminder + "." + secondval;
95
            finalval = reminder + "." + secondval;
96
            return String.valueOf(finalval) + " Lacs";
96
            return String.valueOf(finalval) + " L";
97
        } else if (value >= 1000 && value < 100000) {
97
        } else if (value >= 1000 && value < 100000) {
98
            long reminder = value / 1000;
98
            long reminder = value / 1000;
99
            long quitonent = value % 1000;
99
            long quitonent = value % 1000;
100
            String secondval = String.format("%03d", quitonent);
100
            String secondval = String.format("%03d", quitonent);
101
            secondval = secondval.substring(0, 2);
101
            secondval = secondval.substring(0, 2);