TypeConverter.st
changeset 508 64ee54ff8a77
parent 487 c7465591e41a
child 722 ea6d08251333
--- a/TypeConverter.st	Fri Apr 04 11:17:35 1997 +0200
+++ b/TypeConverter.st	Fri Apr 04 12:47:42 1997 +0200
@@ -215,6 +215,15 @@
     "Created: 4.3.1997 / 12:32:19 / cg"
 !
 
+number
+    "setup the converter to convert from a string to a number
+     and vice versa. Invalid numbers are converted to nil."
+
+    self numberToText
+
+    "Created: 4.4.1997 / 12:46:14 / cg"
+!
+
 numberOrNil
     "setup the converter to convert from a string to a number
      and vice versa. Invalid numbers are converted to nil."
@@ -413,5 +422,5 @@
 !TypeConverter class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/TypeConverter.st,v 1.5 1997-03-04 19:17:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/TypeConverter.st,v 1.6 1997-04-04 10:47:42 cg Exp $'
 ! !