MATLAB has very readable and accessible documentation complete with working examples for you to try out. 2 Comments. I need to run a program so it shows no decimal places. Remember that binary numbers need not have an exact decimal format with a limited number of digits, and the other way around. The format string is recycled through the elements of A (columnwise) until all the elements are … fprintf - pubs.opengroup.org %6.2f For more information about format strings , refer to the printf() and fprintf() routines in the documents listed in "References" . This question was caused by a typo or a problem that can no longer be reproduced. Use >> help fprintf in MATLAB for more information. matlab This is the reason for the old effect (not "problem"): 0.1 + 0.1 + 0.1 == 0.3 % FALSE! fprintf Summary. How can I display a table with specific number of decimal places in ...