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