Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {

    public static Long getDecimalPart(Long source, int begin, int end) {
        long t = source % (long) Math.pow(10, begin);
        t = t / (long) Math.pow(10, end);
        return t;
    }
}