FixedPoint.st
changeset 25007 050a1002f4b6
parent 24994 24d2a0b0a027
child 25058 08eb3345f6d9
equal deleted inserted replaced
25006:c70ecfb14931 25007:050a1002f4b6
   309 ! !
   309 ! !
   310 
   310 
   311 !FixedPoint class methodsFor:'coercing & converting'!
   311 !FixedPoint class methodsFor:'coercing & converting'!
   312 
   312 
   313 coerce:aNumber
   313 coerce:aNumber
   314     "convert the argument aNumber into an instance of the receiver's class and return it."
   314     "convert the argument aNumber into an instance of the receiver (class) and return it."
   315 
   315 
   316     ^ aNumber asFixedPoint
   316     ^ aNumber asFixedPoint
   317 ! !
   317 ! !
   318 
   318 
   319 !FixedPoint class methodsFor:'constants'!
   319 !FixedPoint class methodsFor:'constants'!