Difference between revisions of "Log10"

From Mesham
Jump to navigationJump to search
m
m (3 revisions imported)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
  #include <maths>
 
  #include <maths>
  var a:=log10(0.154);
+
   
var y:=log10(a);
+
function void main() {
 +
    var a:=log10(0.154);
 +
    var y:=log10(a);
 +
};
  
 
''Since: Version 0.41b''
 
''Since: Version 0.41b''

Latest revision as of 15:44, 15 April 2019

Overview

This log(d) function will find the base 10 logarithmic value of d

  • Pass: A Double
  • Returns: A Double representing the base 10 logarithmic value

Example

#include <maths>

function void main() {
   var a:=log10(0.154);
   var y:=log10(a);
};

Since: Version 0.41b