Name
Log10 Function
Class
System.Math
Syntax
Math.Log10(d
)
-
d
Use: Required
Data Type: Double
A numeric expression greater than zero
Return Value
Double
Description
Returns the common (base-10) logarithm of a given number
Rules at a Glance
The common logarithm is the logarithm base-10. The common logarithm satisfies the equation:
10^Log10(x) = x
d
, the value whose common logarithm the function is to return, must be a positive real number. If number is negative or zero, the function generates runtime error 5, “Invalid procedure call or argument.”This is a Shared member, so it can be used without creating any objects.
VB .NET/VB 6 Differences
The Log10
function is new to the .NET platform.
See Also
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.