mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-26 17:29:50 +00:00
22 lines
367 B
Java
22 lines
367 B
Java
package com.bytezone.diskbrowser.visicalc;
|
|
|
|
public class IsNa extends ValueFunction
|
|
{
|
|
IsNa (Cell cell, String text)
|
|
{
|
|
super (cell, text);
|
|
assert text.startsWith ("@ISNA(") : text;
|
|
}
|
|
|
|
@Override
|
|
public boolean isBoolean ()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public void setValue ()
|
|
{
|
|
value = source.isValueType (ValueType.NA) ? 1 : 0;
|
|
}
|
|
} |