dmolony-DiskBrowser/src/com/bytezone/diskbrowser/visicalc/Pi.java
2020-02-10 21:05:40 +10:00

18 lines
595 B
Java

package com.bytezone.diskbrowser.visicalc;
// -----------------------------------------------------------------------------------//
class Pi extends ConstantFunction
// -----------------------------------------------------------------------------------//
{
// ---------------------------------------------------------------------------------//
Pi (Cell cell, String text)
// ---------------------------------------------------------------------------------//
{
super (cell, text);
assert text.equals ("@PI") : text;
value = Math.PI;
valueType = ValueType.NUMBER;
}
}