package com.bytezone.diskbrowser.visicalc; // -----------------------------------------------------------------------------------// class Ln extends ValueFunction // -----------------------------------------------------------------------------------// { // ---------------------------------------------------------------------------------// Ln (Cell cell, String text) // ---------------------------------------------------------------------------------// { super (cell, text); assert text.startsWith ("@LN(") : text; } // ---------------------------------------------------------------------------------// @Override public double calculateValue () // ---------------------------------------------------------------------------------// { return Math.log (source.getDouble ()); } }