Re: How can I show a number with thousands seperators

Steve Thomas <sthomas1-gQhbkF4bah9Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.squeakland
Message-ID <CAGa9PAYrvCkdCpYrGyA1bsZzXcuyXWn7msuLYgb2o=i4YXF7cQ@mail.gmail.com>
Okay, Method Finder has to be the second coolest code tool ever.  I simply
give an example of what I want to do and it finds it.

FYI to get to Method Finder: CMD-<comma> (CTRL-<comma> on PC, I think) ->
open... -> method finder

Thanks Bert.

Stephen

On Sun, Jul 8, 2012 at 9:02 AM, Bert Freudenberg <[email protected]>wrote:

> On 07.07.2012, at 16:09, Steve Thomas wrote:
>
> > When I set a text's numeric value, I would like to include the thousands
> separator to make it easier to compare two numbers.
>
> It's not built into Etoys.
>
> To find the right Squeak method, open a method finder. Give it an example,
> e.g. "12345. '12,345'". It will look for a method with that receiver giving
> that result.
>
> (this works for methods with arguments, too. E.g. try "2. 3. 8")
>
> - Bert -
>
> _______________________________________________
> squeakland mailing list
> [email protected]
> http://lists.squeakland.org/mailman/listinfo/squeakland
>

_______________________________________________
squeakland mailing list
[email protected]
http://lists.squeakland.org/mailman/listinfo/squeakland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.