String:
S/B: >Hello there.<
 Is: >Hello there.<
S/B: >        Hello there.<
 Is: >        Hello there.<
S/B: >Hello there.        <
 Is: >Hello there.        <
S/B: >    Hello there.    <
 Is: >    Hello there.    <
S/B: >HELLO THERE.        <
 Is: >HELLO THERE.        <
S/B: >hello there.        <
 Is: >hello there.        <
S/B: >NULL                <
 Is: >NULL                <
S/B: >********<
 Is: >********<
S/B: >Hello there.<
 Is: >Hello there.<
S/B: >Hello th<
 Is: >Hello th<

StringBuffer:
S/B: >Hello there.<
 Is: >Hello there.<
S/B: >        Hello there.<
 Is: >        Hello there.<
S/B: >Hello there.        <
 Is: >Hello there.        <
S/B: >    Hello there.    <
 Is: >    Hello there.    <
S/B: >NULL<
 Is: >NULL<

Repeat fill:
S/B: >=====================<
 Is: >=====================<
S/B: >+-+-+-+-+-+-+-+-+-+-+<
 Is: >+-+-+-+-+-+-+-+-+-+-+<
S/B: >123123123123123123123<
 Is: >123123123123123123123<
S/B: ><
 Is: ><
S/B: >ccccccccccccccccccccc<
 Is: >ccccccccccccccccccccc<
S/B: >ccccccccccccccccccccc<
 Is: >ccccccccccccccccccccc<
S/B: >-123-123-123-123-123-<
 Is: >-123-123-123-123-123-<
S/B: >nullnullnullnullnulln<
 Is: >nullnullnullnullnulln<

boolean:
S/B: >true<
 Is: >true<
S/B: >false     <
 Is: >false     <
S/B: >       0x1<
 Is: >       0x1<
S/B: >        01<
 Is: >        01<
S/B: >         1<
 Is: >         1<
S/B: >       0x0<
 Is: >       0x0<
S/B: >        00<
 Is: >        00<
S/B: >         0<
 Is: >         0<
S/B: >       0x1<
 Is: >       0x1<

byte:
S/B: >55<
 Is: >55<
S/B: >110111<
 Is: >110111<
S/B: >0x37<
 Is: >0x37<
S/B: >        55<
 Is: >        55<
S/B: >55        <
 Is: >55        <
S/B: >      0x37<
 Is: >      0x37<
S/B: >       067<
 Is: >       067<
S/B: >    110111<
 Is: >    110111<
S/B: >      0x37<
 Is: >      0x37<

char:
S/B: >c<
 Is: >c<
S/B: >         c<
 Is: >         c<
S/B: >c         <
 Is: >c         <
S/B: >    0x0063<
 Is: >    0x0063<
S/B: >      0143<
 Is: >      0143<
S/B: >   1100011<
 Is: >   1100011<
S/B: >    0x0063<
 Is: >    0x0063<

short:
S/B: >123<
 Is: >123<
S/B: >       123<
 Is: >       123<
S/B: >0000000123<
 Is: >0000000123<
S/B: >123       <
 Is: >123       <
S/B: >-123<
 Is: >-123<
S/B: >      -123<
 Is: >      -123<
S/B: >-000000123<
 Is: >-000000123<
S/B: >-123      <
 Is: >-123      <
S/B: >    0xFF85<
 Is: >    0xff85<

int:
S/B: >123<
 Is: >123<
S/B: >       123<
 Is: >       123<
S/B: >0000000123<
 Is: >0000000123<
S/B: >123       <
 Is: >123       <
S/B: >-123<
 Is: >-123<
S/B: >      -123<
 Is: >      -123<
S/B: >-000000123<
 Is: >-000000123<
S/B: >-123      <
 Is: >-123      <
S/B: >0xffffff85<
 Is: >0xffffff85<

long:
S/B: >123<
 Is: >123<
S/B: >       123<
 Is: >       123<
S/B: >0000000123<
 Is: >0000000123<
S/B: >123       <
 Is: >123       <
S/B: >-123<
 Is: >-123<
S/B: >      -123<
 Is: >      -123<
S/B: >-000000123<
 Is: >-000000123<
S/B: >-123      <
 Is: >-123      <
S/B: >0xffffffffffffff85<
 Is: >0xffffffffffffff85<
S/B: >0xFFFFFFFFFFFFFF85<
 Is: >0XFFFFFFFFFFFFFF85<
S/B: >-2401053089206453570<
 Is: >-2401053089206453570<

Hexadecimal notation:
S/B: >                0xbe<
 Is: >                0xbe<
S/B: >              0xbabe<
 Is: >              0xbabe<
S/B: >          0xcafebabe<
 Is: >          0xcafebabe<
S/B: >0xCAFEBABE          <
 Is: >0XCAFEBABE          <
S/B: >  0xdeadbeefcafebabe<
 Is: >  0xdeadbeefcafebabe<
S/B: >0x42f6e666<
 Is: >0x42f6e666<
S/B: >0x405edccccccccccd<
 Is: >0x405edccccccccccd<

Octal notation:
S/B: >                     0276<
 Is: >                     0276<
S/B: >                  0145376<
 Is: >                  0145376<
S/B: >             031277535276<
 Is: >             031277535276<
S/B: >  01572555756771277535276<
 Is: >  01572555756771277535276<
S/B: >010275563146<
 Is: >010275563146<
S/B: >0401366714631463146315<
 Is: >0401366714631463146315<

Binary notation:
S/B: >            10111110<
 Is: >            10111110<
S/B: >    1100101011111110<
 Is: >    1100101011111110<
S/B: >00001100101011111110<
 Is: >1100101011111110<
S/B: >                         1111011<
 Is: >                         1111011<
S/B: >11111111111111111111111110000101<
 Is: >11111111111111111111111110000101<
S/B: >11001010111111101011101010111110<
 Is: >11001010111111101011101010111110<
S/B: >1101111010101101101111101110111111001010111111101011101010111110<
 Is: >1101111010101101101111101110111111001010111111101011101010111110<
S/B: >1000010111101101110011001100110<
 Is: >1000010111101101110011001100110<
S/B: >100000001011110110111001100110011001100110011001100110011001101<
 Is: >100000001011110110111001100110011001100110011001100110011001101<

java.util.Date:
S/B: >Thu Jun 10 15:19:09 EDT 1999<
 Is: >Thu Jun 10 15:19:09 EDT 1999<
S/B: >dd-MMM HH:mm<
 Is: >10-Jun 15:19<
S/B: >        dd-MMM HH:mm<
 Is: >        10-Jun 15:19<
S/B: >dd-MMM HH:mm        <
 Is: >10-Jun 15:19        <
S/B: >MMM dd yyyy hh:mm:ss:SSSaa<
 Is: >Jun 10 1999 03:19:09:359PM<
S/B: >dd-MMM-yyyy<
 Is: >10-Jun-1999<
S/B: >hh:mmaa<
 Is: >03:19PM<
S/B: >hh:mmaa<
 Is: >03:19pm<
S/B: >HHmm<
 Is: >1519<
S/B: >MMMM<
 Is: >June<
S/B: >EEEE<
 Is: >Thursday<
S/B: >null<
 Is: >null<

java.awt.Color:
S/B: >255,255,255<
 Is: >255,255,255<
S/B: >0xff,0xff,0xff<
 Is: >0xff,0xff,0xff<
S/B: >255,0,0<
 Is: >255,0,0<
S/B: >0,255,0<
 Is: >0,255,0<
S/B: >0,0,255<
 Is: >0,0,255<
S/B: >         255,255,255<
 Is: >         255,255,255<
S/B: >000000000255,255,255<
 Is: >000000000255,255,255<
S/B: >255,255,255255,255,2<
 Is: >255,255,255255,255,2<
S/B: >255,255,255         <
 Is: >255,255,255         <
S/B: >    255,255,255     <
 Is: >    255,255,255     <
S/B: >0x37,0x37,0x37<
 Is: >0x37,0x37,0x37<
S/B: >067,067,067<
 Is: >067,067,067<
S/B: >110111,110111,110111<
 Is: >110111,110111,110111<
S/B: >null<
 Is: >null<

objects:
S/B: >true<
 Is: >true<
S/B: >false     <
 Is: >false     <
S/B: >123<
 Is: >123<
S/B: >123       <
 Is: >123       <
S/B: >c<
 Is: >c<
S/B: >         c<
 Is: >         c<
S/B: >c         <
 Is: >c         <
S/B: >123<
 Is: >123<
S/B: >123       <
 Is: >123       <
S/B: >123.4<
 Is: >123.4<
S/B: >123.4     <
 Is: >123.4     <
S/B: >123.4<
 Is: >123.4<
S/B: >123.4     <
 Is: >123.4     <
S/B: >null<
 Is: >null<
S/B: >null<
 Is: >null<
S/B: >null<
 Is: >null<
S/B: >null<
 Is: >null<

Similar to fprintf's "%f" number of decimals:
S/B: > 22.31<
 Is: > 22.31<
S/B: >  1.10<
 Is: >  1.10<
S/B: >  0.30<
 Is: >  0.30<
S/B: >100.00<
 Is: >100.00<
S/B: >100.00<
 Is: >100.00<
S/B: >100.00<
 Is: >100.00<
S/B: >100.00<
 Is: >100.00<
S/B: >        123.<
 Is: >        123.<
S/B: >       123.4<
 Is: >       123.4<
S/B: >      123.45<
 Is: >      123.45<
S/B: >     123.450<
 Is: >     123.450<
S/B: >    123.4500<
 Is: >    123.4500<
S/B: >   123.45000<
 Is: >   123.45000<
S/B: >  123.450000<
 Is: >  123.450000<
S/B: > 123.4500000<
 Is: > 123.4500000<
S/B: >      123.00<
 Is: >      123.00<
S/B: >      123.00<
 Is: >      123.00<
S/B: >     0.10000<
 Is: >     0.10000<
S/B: >     0.01000<
 Is: >     0.01000<
S/B: >     0.00100<
 Is: >     0.00100<
S/B: >     0.00010<
 Is: >     0.00010<
S/B: >     0.00001<
 Is: >     0.00001<
S/B: >     0.00000<
 Is: >     0.00000<
S/B: >0.0000010000<
 Is: >0.0000010000<
S/B: >0.0000010000<
 Is: >0.0000010000<

floats using significant figures:
S/B: >123.456<
 Is: >123.456<
S/B: >1.23456E17<
 Is: >1.23456E17<
S/B: >123.45600<
 Is: >123.45600<
S/B: >123.4560<
 Is: >123.4560<
S/B: >123.456<
 Is: >123.456<
S/B: >123.45<
 Is: >123.45<
S/B: >123.4<
 Is: >123.4<
S/B: >123<
 Is: >123<
S/B: >120<
 Is: >120<
S/B: >100<
 Is: >100<
S/B: > 123.45600<
 Is: > 123.45600<
S/B: >  123.4560<
 Is: >  123.4560<
S/B: >   123.456<
 Is: >   123.456<
S/B: >    123.45<
 Is: >    123.45<
S/B: >     123.4<
 Is: >     123.4<
S/B: >       123<
 Is: >       123<
S/B: >       120<
 Is: >       120<
S/B: >       100<
 Is: >       100<
S/B: >   100    <
 Is: >   100    <
S/B: >   -100   <
 Is: >   -100   <

floats & doubles using significant figures:
S/B: >1.234E17<
 Is: >1.234E17<
S/B: >1.234E17<
 Is: >1.234E17<
S/B: >1.234e17<
 Is: >1.234e17<
S/B: >1.e17<
 Is: >1.e17<
S/B: >-123.4<
 Is: >-123.4<
S/B: >-123.4<
 Is: >-123.4<

floats & doubles using default precisions:
S/B: >1.2345679<
 Is: >1.2345679<
S/B: >1.2345678901234567<
 Is: >1.2345678901234567<
S/B: >1.23456794E18<
 Is: >1.23456794E18<
S/B: >1.23456789012345677E18<
 Is: >1.23456789012345677E18<
S/B: >1.2345679E-21<
 Is: >1.2345679E-21<
S/B: >1.2345678901234568E-21<
 Is: >1.2345678901234568E-21<
S/B: >1.20000<
 Is: >1.20000<
S/B: >1.20000<
 Is: >1.20000<
S/B: >0.12000<
 Is: >0.12000<

NaN, positive and negative infinity:
S/B: >Infinity<
 Is: >Infinity<
S/B: >-Infinity<
 Is: >-Infinity<
S/B: >-INFINITY<
 Is: >-INFINITY<
S/B: >-infinity<
 Is: >-infinity<
S/B: >NaN<
 Is: >NaN<
S/B: >NaN<
 Is: >NaN<
S/B: >NaN<
 Is: >NaN<
S/B: >0x7fc00000<
 Is: >0x7fc00000<
S/B: >0x7f800000<
 Is: >0x7f800000<
S/B: >0xff800000<
 Is: >0xff800000<
S/B: >0x7ff8000000000000<
 Is: >0x7ff8000000000000<
S/B: >0x7ff0000000000000<
 Is: >0x7ff0000000000000<
S/B: >0xfff0000000000000<
 Is: >0xfff0000000000000<

Formatted table
Angle         Sine      Cosine     Tangent
------------------------------------------
0           0.0000      1.0000     -0.0000
15          0.2588      0.9659      0.2679
30          0.5000      0.8660      0.5773
45          0.7071      0.7071      0.9999
60          0.8660      0.5000      1.7320
75          0.9659      0.2588      3.7320
90          1.0000      0.0000   1.6331E16
105         0.9659     -0.2588     -3.7320
120         0.8660     -0.4999     -1.7320
135         0.7071     -0.7071     -1.0000
150         0.5000     -0.8660     -0.5773
165         0.2588     -0.9659     -0.2679
180         0.0000     -1.0000     -0.0000
195        -0.2588     -0.9659      0.2679
210        -0.5000     -0.8660      0.5773
225        -0.7071     -0.7071      0.9999
240        -0.8660     -0.5000      1.7320
255        -0.9659     -0.2588      3.7320
270        -1.0000     -0.0000   5.4437E15
285        -0.9659      0.2588     -3.7320
300        -0.8660      0.5000     -1.7320
315        -0.7071      0.7071     -1.0000
330        -0.5000      0.8660     -0.5773
345        -0.2588      0.9659     -0.2679
360        -0.0000      1.0000     -0.0000