Fraction>>round: numberOfWishedDecimal this method was changed for case 19034 Improve comment of round: "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 < expr: (111/100 round: 2) result: 1.11 > < expr: #(1/3 round: 2) result: 0.33 > <expr: #(1 #/ 3 #round: 2) result: 0.33> ---------- Forwarded message ---------- From: Pharo Issue Tracker <[hidden email]> Date: 2016-09-07 10:45 GMT+02:00 Subject: FogBugz (Case [Issue]19057) CI and Bugtracker - Failing test: SHParserST80Test.testNumberHierarchy To: "[hidden email]" <[hidden email]>
|
ups… I did not review correctly. I thought that only the comment changed. Pragmas are not comments...
No! This would make the system quite unreadable if you add lots of those everywhere. Marcus |
Free forum by Nabble | Edit this page |