Difference between revisions of "Log10"

From Mesham
Jump to navigationJump to search
(Created page with '== 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…')
 
m (3 revisions imported)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
This log(d) function will find the base 10 logarithmic value of ''d''
 
This log(d) function will find the base 10 logarithmic value of ''d''
  
* '''Pass:''' A double
+
* '''Pass:''' A [[Double]]
* '''Returns:''' A double representing the base 10 logarithmic value
+
* '''Returns:''' A [[Double]] representing the base 10 logarithmic value
  
 
== Example ==
 
== Example ==
  
 
  #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''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

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