LC converts phone number to scientific notation

Klaus major-k klaus at major-k.de
Fri Sep 9 09:32:39 EDT 2022


Hi Alex,

> Am 09.09.2022 um 15:18 schrieb Alex Tweedly via use-livecode <use-livecode at lists.runrev.com>:
> 
> How about 
> 
> Put (“” & item 9 of globe) onto item 6 of tnewline

or this way. :-)

> Alex
> 
> Sent from my iPhone
> 
>> On 9 Sep 2022, at 11:40, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi Panos,
>> 
>>> Am 09.09.2022 um 12:27 schrieb panagiotis m via use-livecode <use-livecode at lists.runrev.com>:
>>> 
>>> Hello Klaus,
>>> 
>>> I guess what happens here is that if you fetch item X of line Y and use it
>>> directly, LC treats it as a number and displays it in scientific notation.
>> 
>> obviously!
>> 
>>> On the contrary, if you first put item X of line Y into a variable, then
>>> the variable is treated as text, so it is not converted.
>> 
>> Yo, that's why my workaround erm. works. :-)
>> Thank you for the explanation!
>> 
>>> Kind regards,
>>> Panos

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list