package ru.yandex.webmaster3.storage.recommendedquery;

import java.util.function.Function;

/**
 * Created by ifilippov5 on 17.03.17.
 */
public class RecommendedQueryInfoUtil {
    private static final int BID_CONVERSION_NUMERATOR = 3;
    private static final int BID_CONVERSION_DENOMINATOR = 100000;

    public static final Function<Double, Double> BID_FILTER_CONVERTER = (num) -> num * BID_CONVERSION_DENOMINATOR / BID_CONVERSION_NUMERATOR;
    public static final Function<Double, Double> BID_VALUE_CONVERTER = (num) -> num * BID_CONVERSION_NUMERATOR / BID_CONVERSION_DENOMINATOR;
}
