Changeset 72d0010e9c3df9d20b0378cf35bbbe59445593ba

Show
Ignore:
Timestamp:
09/25/08 13:26:22 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1222349182 +0000
git-parent:

[668d3a30b4b76286197f43a4aa59bb2a452a2a99]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1222349182 +0000
Message:

detect autounits use, refs #22

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/lib/Reconnoiter_DataContainer.php

    rdf2e366 r72d0010  
    8484  } 
    8585  function autounits($value) { 
     86    $this->auto_units_on = true; 
    8687    $this->__calc(); 
    8788    return $value / $this->units; 
    8889  } 
    8990  function autounit() { 
    90     //$this->__calc()
     91    if(!$this->auto_units_on) return ''
    9192    switch($this->units) { 
    9293      case 0.000000001: return 'n';