سؤال

If this was a string and it was parsed as a double. Would java be able to process this as the expected value or would I need to change the format of these numbers? Would I need to remove the "+" or change e to "E"? 1.3870574e+01

هل كانت مفيدة؟

المحلول

The string parsed to a double just fine on my system.

See Double.valueOf(String str)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top