public static boolean isCurrency(String value) {
        String check = "^(\\d+(?:\\.\\d{1,2})?)$";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isCurrency(String value) {
        String check = "^(\\d+(?:\\.\\d{1,2})?)$";
        return match(check, Pattern.CASE_INSENSITIVE, value);
    }
public static boolean isCurrency ( String value ) { String check = "^(\\d+(?:\\.\\d{1,2})?)$" ; return match ( check , Pattern . CASE_INSENSITIVE , value ) ; }
Currency validation

@param value value
@return boolean
Currency validation