Hi..
Its local, all right, always has been. I think it would be a great suggestion
in the forum to make it global, or at least as an option.
Craig
-Original Message-
From: Geoff Canyon gcan...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Fri, Jan 10, 2014 10:52 pm
Subject: Am I missing something (numberFormat again)
Is there some way to change the default numberFormat? It consumed about
half my day today. I need precision for what I'm doing, and the six decimal
place default won't cut it. I was working on JSON import/export, and the
fact that the debugger also defaults to six decimal places makes it really
tedious to figure out where exactly you're losing precision. In the end, a
fit of frustration led to me putting
set the numberFormat to 0.##
at the start of about twenty handlers. Some combination of that fixed the
problem -- I still don't know where it was exactly. In any case I'm now
happily importing and exporting, on to rendering:
{
Titan: {
z8: .,
dx-6: 000,
dz-6: 000,
name: Titan,
radius: 2576000,
p: 0,
x8: 14267.2540,
r: 0,
mass: 13452000,
dp: 0,
dr: 0,
w: 0,
G8: 0.0008977649568,
dy-6: 000,
x: 142672540,
y8: 12.2187,
y: 122187,
z: ,
dw: 0,
dx: 0.00,
dy: 0.00,
dz: 0.00},
Haumea: {
z8: .,
dx-6: 000,
dz-6: 000,
name: Haumea,
radius: 575000,
p: 0,
x8: 64840.,
r: 0,
mass: 401000,
dp: 0,
dr: 0,
w: 0,
G8: 0.267620984,
dy-6: 000,
x: 64840,
y8: .,
y: ,
z: ,
dw: 0,
dx: 0.00,
dy: 0.00,
dz: 0.00},
etc.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode