Hi,
this is my first posting to this forum. I recently started using krpano for my night-sky panorama image:
http://galaxy.phy.cmich.edu/~axel/mwpan2/krpano/
Two questions:
- While writing code to display the image center coordinates in sexagesimal notation I noticed some strange behavior in the roundval() function:
set(Decm, 0.055); roundval(Decm,0);
returns 1, not 0 (this seems to be the case for all values of Decm between 0.05 and 0.01). Has anyone noticed a similar behavior? I am using krpano 1.0.8.11.
- Is there any way of formatting text output similar to printf in C or Perl? I'd like to pad single-digit numbers with a preceding zero, i.e. what printf("%02i", ...) would do.
Axel