/* * Created on 26/Nov/2003 * */ package net.sourceforge.fenixedu.domain.gaugingTests.physics; import net.sourceforge.fenixedu.domain.RootDomainObject; /** * @author Joćo Mota 26/Nov/2003 * */ public class GaugingTestResult extends GaugingTestResult_Base { public GaugingTestResult() { super(); setRootDomainObject(RootDomainObject.getInstance()); } public Double getCf() { Long rounded = Long.valueOf(Math.round(Double.valueOf(getCfString().replace(',', '.')).doubleValue() * 10)); return Double.valueOf(rounded.doubleValue() / 10); } public void setCf(Double cf) { setCfString(cf.toString()); } }