Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 47 and Version 48 of ChapterConversions

Show
Ignore:
Author:
Abscissa (IP: 76.189.240.11)
Timestamp:
08/24/09 20:26:18 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChapterConversions

    v47 v48  
    233233Layouter ("{:d}", 123 );      // "123"       decimal 
    234234Layouter ("{:d4}", 123 );     // "0123"      decimal width 4 
    235 Layouter ("{:f}", 123.456 );  // "123.46"    floating point 
     235Layouter ("{:f}", 123.456 );  // "123.46"    floating point, note the rounding 
    236236Layouter ("{:f4}", 123.456 ); // "123.4560"  floating point width 4 
    237237Layouter ("0x{:x}", 123 );    // "0x7b"      hex