Christoph Thiede uploaded a new version of Kernel to project The Inbox: http://source.squeak.org/inbox/Kernel-ct.1520.mcz
==================== Summary ====================
Name: Kernel-ct.1520 Author: ct Time: 15 August 2023, 3:10:09.691866 pm UUID: 26ff8963-9b5d-8a49-b54a-35a487efc001 Ancestors: Kernel-mt.1519
Proposal: Adds ScaledDecimal>>#printFractionAsDecimal similar to #printShowingDecimalPlaces:.
Usage: (5/7*100s2) printFractionAsDecimal '71.42'
Essentially, this gets rid of the scale ("s2") to create a user-friendly printString.
=============== Diff against Kernel-mt.1519 ===============
Item was added: + ----- Method: ScaledDecimal>>printFractionAsDecimal (in category 'printing') ----- + printFractionAsDecimal + + ^ String streamContents: [:stream | + self printFractionAsDecimalOn: stream]!
+1 Am 15.08.2023 15:10:30 schrieb commits@source.squeak.org commits@source.squeak.org: Christoph Thiede uploaded a new version of Kernel to project The Inbox: http://source.squeak.org/inbox/Kernel-ct.1520.mcz
==================== Summary ====================
Name: Kernel-ct.1520 Author: ct Time: 15 August 2023, 3:10:09.691866 pm UUID: 26ff8963-9b5d-8a49-b54a-35a487efc001 Ancestors: Kernel-mt.1519
Proposal: Adds ScaledDecimal>>#printFractionAsDecimal similar to #printShowingDecimalPlaces:.
Usage: (5/7*100s2) printFractionAsDecimal '71.42'
Essentially, this gets rid of the scale ("s2") to create a user-friendly printString.
=============== Diff against Kernel-mt.1519 ===============
Item was added: + ----- Method: ScaledDecimal>>printFractionAsDecimal (in category 'printing') ----- + printFractionAsDecimal + + ^ String streamContents: [:stream | + self printFractionAsDecimalOn: stream]!
squeak-dev@lists.squeakfoundation.org