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