Java tutorial
//package com.java2s; import java.math.BigDecimal; public class Main { public static boolean compare(String double1, String double2) { if (new BigDecimal(double2).compareTo(new BigDecimal(double1)) > 0) { return true; } return false; } }