Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

When I create a DistributionFitTest of a distribution i receive very low P values. Eg. $2.456750213008007 \times 10^{-367}$. When I copy this (by right clicking and copy to LaTeX), and insert it in my LaTeX document, I receive the number as

\text{2.4567502130080068515188263453399491266$\grave{ }$15.778498511135323*${}^{\wedge}$-367}

Where I would prefer to receive a rounded value such as:

\text{2.457} \times 10^{-367}

Or at least receive an output equivalent, so that I don't have round up manually or edit "*" to "\times", or add up "10".

share|improve this question

1 Answer 1

up vote 3 down vote accepted
ScientificForm[
  2.4567502130080068515188263453399491266`15.778498511135323*^-367, 
  4] // TeXForm

2.457\times 10^{-367}

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.