johnkainn
asked on
decimal
I would like to decide how many numbers will be behind the decimal point.
For example I have got: int n1=1, int n2=3 n1/n3;
What do I do to get only 2 numbers behind the decimal point : 0,33 or exactly 3 numbers : 0,333 etc. ?
For example I have got: int n1=1, int n2=3 n1/n3;
What do I do to get only 2 numbers behind the decimal point : 0,33 or exactly 3 numbers : 0,333 etc. ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
System.Double
ASKER