E
Ekim
I'm not quite familiar with the Java language, and therefore I have some
(assumed to be simple) questions.
How can I get the current systemdate in the format "dd-mm-yyyy".
I've already looked up in the API, and figured out that it can be done with
the "Date"-Class. Anyway I was not able to manage it.
My 2nd problem concerns rounding a double-number. I want to round a number
like "40.745043" to "40.75", so that it is rounded to 2 digits after the
decimal point.
I hope someone can help me answer those questions,
thx in advance,
ekim!
(assumed to be simple) questions.
How can I get the current systemdate in the format "dd-mm-yyyy".
I've already looked up in the API, and figured out that it can be done with
the "Date"-Class. Anyway I was not able to manage it.
My 2nd problem concerns rounding a double-number. I want to round a number
like "40.745043" to "40.75", so that it is rounded to 2 digits after the
decimal point.
I hope someone can help me answer those questions,
thx in advance,
ekim!