SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

Mantis - Squeak
Viewing Issue Advanced Details
7372 Kernel minor always 07-21-09 18:51 04-18-10 22:05
Javier Diaz  
nicolas cellier  
normal  
closed 3.10.2  
fixed  
none    
none trunk  
0007372: printShowingDecimalPlaces: justify fraction to the #right instead of the #left
In Number>>printShowingDecimalPlaces: when creating the string for the fraction:
  fractionString := frac printString padded: #right to: placesDesired with: $0.
the correct direction is #left not #right

Example of the problem: 7.087 printShowingDecimalPlaces: 2 '7.90'
related to 0005640closed nicolas cellier additional tests and fixes for Number>>printShowingDecimalPlaces: 
related to 0007028closed nicolas cellier printShowingDecimalPlaces: is broken in 3.10 

Notes
(0013213)
nicolas cellier   
07-27-09 20:24   
This is a known bug with known fix and duplicates
0005640
0007028
(0013312)
nicolas cellier   
09-19-09 20:23   
Fixed in
http:://source.squeak.org/trunk/KernelTests-nice.93.mcz
http:://source.squeak.org/trunk/Kernel-nice.247.mcz