#5508 HIGH Never A: Text morph that has a fraction returns a numerator only.

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 17 18:56:43 EST 2007


#5508: Text morph that has a fraction returns a numerator only.
-----------------------------+----------------------------------------------
  Reporter:  Kazuhiro Abe    |       Owner:  etoys         
      Type:  defect          |      Status:  new           
  Priority:  high            |   Milestone:  Never Assigned
 Component:  etoys-activity  |     Version:  Build 623     
Resolution:                  |    Keywords:                
  Verified:  0               |  
-----------------------------+----------------------------------------------

Comment(by ohshima):

 Replying to [comment:2 ScottWallace]:
 > Well, sure, Squeak itself has a "fraction" type. But the etoy system as
 presented to the end-user does not.  For example, you can't type a
 fraction into the readout of a numeric-valued slot and have it interpreted
 as a fraction.  Given that we don't allow the user to express (or see)
 numbers as fractions anywhere else in etoys, I think maybe its reasonable
 to leave things as they are in TextMorph as well.

 Hmm.  But then the current situation, where the user can store a string
 '(3/4)' into a Text is a bug in Etoys.  setNumericValue: should convert it
 to Float.  I thought we had the feature so that Text uses decimal places
 for 'numeric value' to figure out what to store, but this didn't get in
 the Etoys image?

-- 
Ticket URL: <http://dev.laptop.org/ticket/5508#comment:3>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list