static long decimal()

in java/main/src/main/java/com/epam/deltix/hdtime/Parsers.java [75:87]


        static long decimal(final CharSequence from, int ofs) throws ParseException {
            int end = from.length();
            int x = digit(from, ofs++);
            for (; ofs < end; ++ofs) {
                int c = from.charAt(ofs) - '0';
                if (c < 0 | c > 9)
                    break;

                x = x * 10 + c;
            }

            return ((long)ofs << 32) | x;
        }