class RatioNumber extends Number implements Comparable<RatioNumber> {

    @Override
    public String toString() {
        return value + ":" + ratio;
    }

    public  RatioNumber(double value, double ratio);

}