| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
And, because the vm handles the overloading of the +operator, I don't think that there is any way for me to syncronize to
avoid this!
You can use a synchronized block:
synchronized (this) {
double d = some special double
String s = "";
s+=d;
}
Rob
| References: | |
| >RE: double to string causes divide by zero! (From: "Rob Ross" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.