I am using Unity Engine to make a game. I am using a double variable and want it to only display the number till two decimal places.
public double nos = 0;
For eg: if nos = 17.2369...; I want it to display nos = 17.23;
P.S.: I don't want to round it off or smt.
How to make that happen?