Anonymous | Login | 12-09-2019 09:39 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
0007667 | [Squeak] Kernel | minor | always | 09-07-11 11:26 | 09-08-11 14:16 | ||||||||
Reporter | FrankShearar | View Status | public | ||||||||||
Assigned To | FrankShearar | ||||||||||||
Priority | normal | Resolution | fixed | ||||||||||
Status | resolved | Product Version | |||||||||||
Summary | 0007667: ScaledDecimal newFromNumber: 0.0 scale: 0 can't print | ||||||||||||
Description |
Evaluate the following: 0s0 "=> 0s0" ScaledDecimal newFromNumber: 0 scale: 0 "=> 0s0" 0.0s0 "=> 0s0" ScaledDecimal newFromNumber: 0.0 scale: 0 "=> MNU: SmallInteger doesn't understand printTruncatedOn:showingDecimalPlaces:" The MNU happens because in ScaledDecimal class >> #newFromNumber:scale: we say "..." aNumber asFraction "..." and when aNumber = 0.0, aNumber asFraction = 0, which is a SmallInteger and not a Fraction. |
||||||||||||
Additional Information | |||||||||||||
Attached Files | |||||||||||||
|
![]() |
|
(0014184 - 47 - 47 - 47 - 47 - 47 - 47) FrankShearar 09-08-11 14:16 |
Nicolas Cellier fixed this: Kernel-nice.614.mcz |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
40 total queries executed. 31 unique queries executed. |