Page 1 of 1

floating point error

PostPosted: Mon Sep 15, 2014 6:25 am
by MvanDinther
Hi,

I am trying to use density 5.03 on a Win7pro laptop. When I tried to upload my data I get the following error;

'-50.0' is not a valid floating point value.

Funny enough I get a similar error when I tried to upload the included demonstration trap and capt files;

'1.0' is not a valid floating point value.

Can I fix this?

cheers,

M van Dinther

Re: floating point error

PostPosted: Mon Sep 15, 2014 4:19 pm
by murray.efford
I believe this is an unfortunate effect of your regional settings. Density uses `.` as a decimal delimiter, but I'm guessing you use ','. The particular problem arises at startup when it reads default values for some numeric options that appear in text boxes on the Options screens. This is not a small problem to correct, so I would ask you to bear with the national bias of the program.

You can change the delimiter in Windows 7 from Start | Control panel | Clock language and region | Change the date, time or number settings | Additional settings -- Decimal symbol.

Murray