j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
This is at mantis http://bugs.squeak.org/view.php?id=6696
The intention of the ScaledDecimal class is to print a fixed number of digits in base 10 after the decimal point (as it obviously sounds for a latin, both ScaledDecimal and decimal point were originally intended for base 10).
What would it mean in another base? Should it print with same number of digits, or with a number of digits leading to equivalent precision? Would a self shouldNotImplement be prefered?
On the other hand, different radix are allowed on input as 16r14.0s1... So what? Pushing this logic, should the radix used to input the number be an instVar? (meaning this number keep n digits after the "decimal" point in base r)
Nicolas
squeak-dev@lists.squeakfoundation.org