Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

math.log?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    math.log?

    i need to do a log and have used

    Math.Log()

    and am getting a number returned that is not the log

    double Rat = Math.Log(800);

    rat should be 2.903 but i'm getting 6.68

    is Math.Log not the same as "Log"

    looked around but am having trouble figuring this out

    thanks in advance for any help

    #2
    Hi Jim, per default that would be the natural log or ln you get, you seek it from base 10 likely here so try please - Math.Log(800, 10);

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    86 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X