I am just starting to build applets with ejs, it's a wonderful program.

I would like some numbers (double) to be shown on screen as a power of 10.

For instance:

23000 as: 2,3•10^4 (if possible 4 as exponent)

0,00356 as: 3,6•10^-3 (-3 as exponent).

Further, is there a way to have a numberfield also accept(and show) the "," instead of the"."?

So: 34,5 instead of 34.5

It would be great if I could get some simple examples to solve this problems.

Already many thanks for the help.

Greetings,

Fred