Scientific notation for decimal numbers

2
Is there a way to show scientific notation for a decimal number (e.g. 0.00001 is shown as 1E-05)? I can't seem to find this option anywhere. Would be a shame to manually build this notation via microflow logic to a string value.
asked
1 answers
3

If you convert it to a string you can format it to a scientific notation with something like:

formatDecimal($YourDecimal, '0.#E0')

See also the javaDecimalFormat for this; https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html

answered