140
reputation
5

ItachiUchiha

I am nerdier than 97% of all people. Are you a nerd? Click here to take the Nerd Test, get geeky images and jokes, and write on the nerd forum!

The March of Progress, by Cay Horstmann

1980: C

printf("%10.2f", x);

1988: C++

cout << setw(10) << setprecision(2) << showpoint << x;

1996: Java

java.text.NumberFormat formatter = java.text.NumberFormat.getNumberInstance();
formatter.setMinimumFractionDigits(2);
formatter.setMaximumFractionDigits(2);
String s = formatter.format(x);
for (int i = s.length(); i < 10; i++) System.out.print(' ');
System.out.print(s);

2004: Java

System.out.printf("%10.2f", x);

2014: JAVA

LAMBDA EXPRESSIONS

Miaou

0
answers
1
question
~2k
people reached
  • Member for 4 years, 11 months
  • 19 profile views
  • Last seen Apr 18 '18 at 5:44

Top tags (1)

Score 0
Posts 1
Posts % 100

Top posts (1) All Questions Answers | Votes Newest

Badges (5)

Gold

Silver

Bronze

5

Rarest