Hello,
I've got some double's.
They are printed like this:
But they are not rounded into 2 decimals if they have no decimals.
totalBTW = 0;
then with Math.Round(totaalBTW,2) he is still 0.
So how can i print a double always with 2 decimals????
I've got some double's.
They are printed like this:
Code:
Math.Round(totaalBTW,2)
But they are not rounded into 2 decimals if they have no decimals.
totalBTW = 0;
then with Math.Round(totaalBTW,2) he is still 0.
So how can i print a double always with 2 decimals????