package org.simantics.spreadsheet.graph.formula; import org.simantics.spreadsheet.graph.CellFormulaFunction; import org.simantics.spreadsheet.graph.CellValueVisitor; import org.simantics.spreadsheet.graph.parser.ast.AstArgList; public class PiFormulaFunction implements CellFormulaFunction { @Override public Double evaluate(CellValueVisitor visitor, AstArgList args) { if (args != null) throw new IllegalStateException(); return Math.PI; } }