luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie wrote:
That is a nice solution. There are other solutions on that same SO thread which look pretty awful to me.Darryl Burke wrote:There's a solution offered on StackOverflow that uses com.ibm.icu.text.DecimalFormat.
shashank shashi wrote:Campbell,I used while loop and measured the time of execution it was a lot fater than for.Once again,Thankyou.[code=java]
shashank shashi wrote:Thankyou Tapas I had missed it.Hope this is correct.
Tapas Chand wrote:I am afraid still there is something you need to check.
Have you tried executing your code with?
Liutauras Vilda wrote:Tapas, well deserved cow - for thinking about the corner cases twice in this thread, and for putted effort in assisting on multiple other threads.
You're welcomeshashank shashi wrote: . . . measured the time of execution it was a lot fater than for.Once again,Thankyou.
. . .
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|