Hey I'm using the following code to format my number for two decimal places < Pre> When I print results, give me answeres with only a decimal place In the You have to use Example public string format (double number) {string tag = ""; Decimalable df = new passphrase ("R # #"); Floating = floating + df.format (number); Return temporary; }
# in the 0 where 0 also prints as 0.
decimalf df = new passphrase ("R.00");
No comments:
Post a Comment