mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-27 23:29:37 +00:00
18 lines
311 B
Java
18 lines
311 B
Java
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
public class Int extends Function
|
|
{
|
|
|
|
Int (Sheet parent, String text)
|
|
{
|
|
super (parent, text);
|
|
}
|
|
|
|
@Override
|
|
public Value calculate ()
|
|
{
|
|
Expression exp = new Expression (parent, functionText);
|
|
value = (int) exp.getValue ();
|
|
return this;
|
|
}
|
|
} |