Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# round number of digits after decimal point

float value = 92.197354542F;
value = (float)System.Math.Round(value,2);         // value = 92.2;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #number #digits #decimal #point
ADD COMMENT
Topic
Name
5+6 =