[Flightgear-devel] Re: calctile.nas

2005-03-09 Thread Melchior FRANZ
* Andy Ross -- Tuesday 08 March 2005 19:52: Indeed, there is no formatted text mechanism in Nasal right now. Everything is printed to the precision of a full double. I've added a rounding function to http://members.aon.at/mfranz/flightgear/calctile.nas that should be good enough for most

[Flightgear-devel] Re: calctile.nas

2005-03-08 Thread Melchior FRANZ
* Andy Ross -- Tuesday 08 March 2005 19:52: Indeed, there is no formatted text mechanism in Nasal right now. Everything is printed to the precision of a full double. I've added an ugly truncation function for now. The output is now: Longitude:16.5754919 deg Latitude: 48.1090681

Re: [Flightgear-devel] Re: calctile.nas

2005-03-08 Thread Andy Ross
Melchior FRANZ wrote: Unfortunately, I can't avoid the silly double-0. No idea why. As you pointed out on the IRC channel (which more folks should be on, it's kinda fun sometimes), this is a Nasal bug. Or two, actually. The simple bug is that the string - converts to a numerical zero due to