* 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 deg
  Altitude ASL: 185.9498 m  (610.0717 ft)
  Altitude AGL: 00.0006 m  (00.0021 ft)
  Heading:      296.97 deg
  Ground Elev:  184.7342 m  (606.0836 ft)

  e010n40/e016n48/3220098.stg
  OBJECT_ 16.5754919 48.1090681 184.7342 63.02


Unfortunately, I can't avoid the silly double-0. No idea why.

m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to