1
$\begingroup$

This question already has an answer here:

I am looking for a way to control the precision of numbers that are elements in a matrix, or list of numbers. Something similar to NumberForm[...] but so that I can use it in conjunction with MatrixForm[...].

Does anyone know how to achieve this?

$\endgroup$

marked as duplicate by Mr.Wizard Feb 16 '17 at 18:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2
$\begingroup$
(m = RandomReal[99, {3, 3}]) // MatrixForm

enter image description here

NumberForm[m // MatrixForm, {5, 2}]

enter image description here

EDIT: See Properties & Relations section of documentation for NumberForm

$\endgroup$
  • $\begingroup$ That easy huh? Nice, thanks!! $\endgroup$ – Q.P. Feb 15 '17 at 15:37

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