Utils.java [src/java/rv/utils] Revision: default Date:
/*
* $Id$
*
* This file is part of the Cloud Services Integration Platform (CSIP),
* a Model-as-a-Service framework, API, and application suite.
*
* 2012-2022, OMSLab, Colorado State University.
*
* OMSLab licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*/
package rv.utils;
/**
*/
public class Utils {
// //Round the value of a float or double
// public static double roundValues(double value, int places) {
// if (places < 0)
// throw new IllegalArgumentException();
// BigDecimal bd = BigDecimal.valueOf(value);
// bd = bd.setScale(places, RoundingMode.HALF_UP);
// return bd.doubleValue();
// }
}