Re: [Flightgear-devel] [flightgear-devel] Internal documentation of props.Node object

2009-09-06 Thread Behlül UÇAR
Searching for it for approximately one day and finding nothing, I decided to write my own function for converting strings to numeric values. Below is the function for it: var stringToNum = func (str) { var boyut = size(str); var pointLoc = boyut;

Re: [Flightgear-devel] [flightgear-devel] Internal documentation of props.Node object

2009-09-06 Thread Torsten Dreyer
It would still be good to know if any built-in method does this too :) Like this? var piAsString = 3.1416; var piAsNumber = num(piAsString); Do you know these links? http://www.plausible.org/nasal/ http://www.plausible.org/nasal/lib.html Greetings, Torsten

Re: [Flightgear-devel] [flightgear-devel] Internal documentation of props.Node object

2009-09-06 Thread Behlül UÇAR
I tried all of them as i said my problem was about initialization as string. By the way I ask a question to here * if and only if * i consume all sources to research. 2009/9/6 Torsten Dreyer tors...@t3r.de It would still be good to know if any built-in method does this too :) Like this? var

Re: [Flightgear-devel] [flightgear-devel] Internal documentation of props.Node object

2009-09-06 Thread Csaba Halász
2009/9/6 Torsten Dreyer tors...@t3r.de It would still be good to know if any built-in method does this too :) Like this? var piAsString = 3.1416; var piAsNumber = num(piAsString); On Sun, Sep 6, 2009 at 1:12 PM, Behlül UÇARucarbeh...@gmail.com wrote: I tried all of them as i said my

[Flightgear-devel] [flightgear-devel] Internal documentation of props.Node object

2009-09-05 Thread Behlül UÇAR
Is it possible to find detailed information for each method of Node object which is in $FG_ROOT/Nasal/props.nas file. Actually my problem as follows: I'm taking input from an input box and i assign it to a property. I want it to be a numeric value (double for example) but it's always a string.