mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-09-27 09:55:28 +00:00
16 lines
296 B
Java
16 lines
296 B
Java
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
public class Atan extends ValueFunction
|
|
{
|
|
Atan (Cell cell, String text)
|
|
{
|
|
super (cell, text);
|
|
assert text.startsWith ("@ATAN(") : text;
|
|
}
|
|
|
|
@Override
|
|
public double calculateValue ()
|
|
{
|
|
return Math.atan (source.getDouble ());
|
|
}
|
|
} |