Math.round

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys,
Does C#.NET support Math.round? I get an error msg saying that System.Math
does not contain the a definition for 'round'.
So what can i do to make my calculation round to 2nd decimal point?
here are my code..
--> start_time = Math.round (((call_start/100) * 60)*60);
Please correct my mistakes..
thanks in advance...
 
Does C#.NET support Math.round? I get an error msg saying that System.Math
does not contain the a definition for 'round'.

It's Round, not round. Keep in mind that C# is case sensitive.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

math.round doesn't work 3
Math.round question 1
Floating point 'near miss' 2
Help!I'm stuck! 3
Round up number 2
i need more help with this time question 5
dealing with time 4
Basic Rounding Format question 3

Back
Top