private String eNotation()

in src/main/java/com/epam/parso/date/SasTimeFormat.java [199:218]


        private String eNotation(BigDecimal hours, int width) {
            int i = 0;
            String hh = null;
            DecimalFormat decimalFormat;
            while (true) {
                if (i == 0) {
                    decimalFormat = new DecimalFormat("0E0");
                } else {
                    decimalFormat = new DecimalFormat("#" + nChars('0', i) + "E0");
                }
                i++;
                String tmp = decimalFormat.format(hours);
                if (tmp.length() > width) {
                    break;
                } else {
                    hh = tmp;
                }
            }
            return hh;
        }