package com.bytezone.diskbrowser.visicalc; public class Cos extends ValueFunction { Cos (Cell cell, String text) { super (cell, text); assert text.startsWith ("@COS(") : text; } @Override public void setValue () { value = Math.cos (source.getValue ()); } }