Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

formatted output in field post and replies

Return to the formatted output in field thread
Login to post to this thread

scientific notation - Apr 10, 2012 at 3:03PM
David Joiner
3 Posts

Is it possible to have a Field in EJS display results in scientific notation?


Replies to scientific notation

Re: scientific notation - Apr 10 2012 3:57PM
Francisco Esquembre
136 Posts

Sure!

Use, for instance, "0.##E0" as Format property of a number field.

Paco



The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics