Hi Cannon,

4D Tech mailing list wrote
>> On Jul 24, 2018, at 9:32 AM, Cannon Smith via 4D_Tech <

> [email protected]

>> wrote:
>> 
>> 
>> But I’m getting an exponent of 7 instead of 3. Any ideas what I’m doing
>> wrong?
>> 

As Spencer mentioned you need to transform the log from a natural log to
base 10.


4D Tech mailing list wrote
> difference btwn log and natural log.  try LOG10

Try;

C_REAL($vR_range;$vR_exp;$vR_mag)

$vR_range:=1200-50

  // get the base 10 exponent
$vR_exp:=Int(Log($vR_range)/Log(10))

$vR_mag:=10^$vR_exp




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to