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
 
Back
Top