Fraction>>round: numberOfWishedDecimal "Round the decimal part of the receiver to be limited to the number of wished decimal. Only leave a fixed amount of decimal" < expr: (1/3 round: 2) result: 0.33 > < expr: (111/100 round: 2) result: 1.11 > ^self asFloat round: numberOfWishedDecimal this method was changed for case 19034 <https://pharo.fogbugz.com/f/cases/19034/Improve-comment-of-round> Improve comment of round: But I think < expr: (111/100 round: 2) result: 1.11 > is actually not a valid pragma expression. (Squeak compiler does not allow this). 1. Do we want to allow this syntax ( I don't want) 2. how to express this "example-pragma", use literal arrays instead: < expr: #(1/3 round: 2) result: 0.33 > or <expr: #(1 #/ 3 #round: 2) result: 0.33> nicolai ---------- Forwarded message ---------- From: Pharo Issue Tracker <do-not-reply@pharo.fogbugz.com> Date: 2016-09-07 10:45 GMT+02:00 Subject: FogBugz (Case [Issue]19057) CI and Bugtracker - Failing test: SHParserST80Test.testNumberHierarchy To: "nicolaihess@web.de" <nicolaihess@web.de> [image: avatar] *Marcus Denker* opened *Case 19057*: Failing test: SHParserST80Test. testNumberHierarchy <https://pharo.fogbugz.com/f/cases/19057> and assigned it to *Everyone*: *Bug* in [image: Project:] CI and Bugtracker: 1. Pharo Image ⢠You are subscribed to this case testNumberHierarchy is Failing [image: Priority] *Priority*: 5 â Fix If Time [image: Status] *Status*: Work Needed [image: Assigned To] *Assigned to*: Everyone [image: Milestone] *Milestone*: Pharo6.0 Go to Case <https://pharo.fogbugz.com/f/cases/19057> No longer need updates? Unsubscribe from this case. <https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&comman...> Don't want FogBugz notifications anymore? Update your preferences. <https://pharo.fogbugz.com/f/userPrefs> [image: FogBugz] A FogBugz case was opened by Marcus Denker. Case ID: 19057 Title: Failing test: SHParserST80Test.testNumberHierarchy Status: Work Needed Category: Bug Project: CI and Bugtracker Area: 1. Pharo Image Priority: 5 - Fix If Time Milestone: Pharo6.0: 3/31/2017 Assigned To: Everyone URL: https://pharo.fogbugz.com/f/cases/19057 testNumberHierarchy is Failing You are subscribed to this case. If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&comman...) from this case.