Very interesting stuff indeed, IMHO. Some time ago I implemented what amounts
to a simplified spreadsheet as part of an iOS app. There were cells containing
numbers, arithmetic operations on the cells, and displays of the results. It
very quickly emerged that every cell had to be stored in two f
On Tue, Jul 28, 2015 at 9:59 PM, Richard Gaskin
wrote:
> But stepping back to look at the big picture, I find myself wondering:
>
> Why is that even necessary?
>
> Why isn't that just a field property, e.g. "the displayFormat"?
>
> But stepping back further, why would you want it only restricted
+1
I commented awhaaay back in Revolution 2 times how neat it would be to have a
numberFormat property for fields, so that the stored value was one thing (a
number) and the display value was another. Otherwise reading data into and out
of databases requires a de-format and re-format function fo
You might post this to the "Feature Requests" pane in the forums.
Craig Newman
-Original Message-
From: Michael Doub
To: How to use LiveCode
Sent: Tue, Jul 28, 2015 12:16 pm
Subject: Re: Thousands Separators
Richard, I think Hugh had the same thoughts when he c
Richard, I think Hugh had the same thoughts when he created the
fieldformatter (http://www.flexiblelearning.com/fieldformatter/). Were
you thinking of something different?
-= Mike
On 7/28/15 9:59 AM, Richard Gaskin wrote:
It's of course very useful that we have a community able and willing
Try Javascript... And go for Wakanda... Sorry for my sarcasm...
Sent from my Cubot X6.
Richard Gaskin wrote:
>It's of course very useful that we have a community able and willing to
>share handler for things like number formatting.
>
>But stepping back to look at the big picture, I find mys
It's of course very useful that we have a community able and willing to
share handler for things like number formatting.
But stepping back to look at the big picture, I find myself wondering:
Why is that even necessary?
Why isn't that just a field property, e.g. "the displayFormat"?
The core
terLibrary is impressive, I should have looked at it before.
The function didn’t seem to have the exact format that I needed but it was a
good stimulus to write one that meets my needs. I wanted to format the numbers
in what I call accounting format - thousands separators with negative numbers
On 7/27/2015 7:12 AM, Peter W A Wood wrote:
> I would like to display numbers with a thousand separator. I searched the
> dictionary and the user guide but couldn’t find any mention of inserting a
> thousand separator into a number. Is it a case of do it yourself?
>
>
Look at the 'format' functi
Thanks Mike.
> On 27 Jul 2015, at 19:14, Michael Doub wrote:
>
> Peter, there is a function in the MasterLibrary that does this for you. Look
> in the Text section.
>
> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
>
> Regards,
> Mike
>
>
> On 7/27/15 7:12 AM, Pet
Peter, there is a function in the MasterLibrary that does this for you.
Look in the Text section.
https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
Regards,
Mike
On 7/27/15 7:12 AM, Peter W A Wood wrote:
I would like to display numbers with a thousand separator. I sea
I would like to display numbers with a thousand separator. I searched the
dictionary and the user guide but couldn’t find any mention of inserting a
thousand separator into a number. Is it a case of do it yourself?
Regards
Peter
___
use-livecode maili
12 matches
Mail list logo