MAS212 Scientific Computing and Simulation

String formatting Format codes are common to many languages (Fortran, C, matlab, etc.). Here are the key letters: d signed decimal integer i integer u unsigned decimal integer f floating point real number E exponential notation (uppercase ’E’) e exponential notation (lowercase ’e’) g the shorter of %f and %e s string conversion c ... ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download