C# Maths function (...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] C# Maths function (geek programming content)

1 Posts
1 Users
0 Reactions
45 Views
Posts: 0
Topic starter
 

In simple terms I want to find out the order of magnitude for a given number.

e.g.

1,000 = 3
100,000 = 5

On Windows 7 the built-in calculator (in scientific mode) has a log function so log(1000) = 3.

Does anyone know the equivalent function in C#. Brain fried trying to remember A level Maths...


 
Posted : 09/02/2011 5:06 pm

6 DAYS LEFT
We are currently at 95% of our target!