I won't recommend it, but just to illustrate the difference:

$rRange:=1200-50
C_LONGINT($rExponent)
Begin SQL
SELECT LOG10(:$rRange) FROM _USER_SCHEMAS LIMIT 1 INTO :$rExponent
End SQL
$rMagnitude:=10^$rExponent


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





**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to