Number.st
branchjv
changeset 21024 8734987eb5c7
parent 20578 39641ba8d6e0
parent 20866 076ab5e1f702
child 21242 19fabe339f8b
--- a/Number.st	Wed Oct 26 23:35:39 2016 +0100
+++ b/Number.st	Fri Nov 18 20:48:04 2016 +0000
@@ -1702,7 +1702,7 @@
     "print the receiver as swiss business number with thousands separator to aStream.
      Caveat: Should use the separator from the locale here"
 
-    ^ self printStringWithThousandsSeparator:$'.
+    ^ self printStringWithThousandsSeparator:(UserPreferences current thousandsSeparatorCharacter).
 
     "
      1000000 printStringWithThousandsSeparator
@@ -1721,6 +1721,7 @@
      1234 asFixedPoint printStringWithThousandsSeparator
      123 asFixedPoint printStringWithThousandsSeparator
      ((9999999//10000) asFixedPoint:9) printStringWithThousandsSeparator
+     ((99999999//10000) asFixedPoint:9) printStringWithThousandsSeparator
     "
 !