Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-15 Thread Rolf-Werner Eilert
Couldn't answer any sooner today, sorry. > What I actually do is have the data read from a .csv file into a > gridview when opening the form (see screenshot 1). Ah ok. > Data storing is on hard disk in .csv > GUI representation of data is reading .csv into a gridview > Data is needed for further

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-14 Thread Willy Raets
On Tue, 2013-05-14 at 20:37 +0200, Benoît Minisini wrote: > Le 14/05/2013 02:58, Willy Raets a écrit : > > Hello, > > > > I have following problem in a project: > > > > I have a valuebox and a gridview. > > > > I enter a number in the value box (let's say 1/2) and next add it to a > > cell in gridv

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-14 Thread Benoît Minisini
Le 14/05/2013 02:58, Willy Raets a écrit : > Hello, > > I have following problem in a project: > > I have a valuebox and a gridview. > > I enter a number in the value box (let's say 1/2) and next add it to a > cell in gridview with a button > > Public Sub btnAdd_Click() > >GridView1[0, 0].Text

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Rolf-Werner Eilert
And then I just came across this one: > > I have a valuebox and a gridview. > > I enter a number in the value box (let's say 1/2) and next add it to a > cell in gridview with a button > > When Regional settings are some European mainland country > Entering 5 1/2 in a valuebox looks like: > 5,5 (->

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Rolf-Werner Eilert
Am 14.05.2013 02:58, schrieb Willy Raets: > Hello, > > I have following problem in a project: > > When Regional settings are English US of UK this works fine > When Regional settings are a European mainland country this results in: > > Error 6: Type mismatch: wanted Float, got Null instead > > Se

[Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Willy Raets
Hello, I have following problem in a project: I have a valuebox and a gridview. I enter a number in the value box (let's say 1/2) and next add it to a cell in gridview with a button Public Sub btnAdd_Click() GridView1[0, 0].Text = ValueBox1.Value End When Regional settings are English US o