Hello All, I'm posting this question after searching Google, but didn't quite understand. In the following code
This displays decimal degrees, minutes and seconds. But in the seconds part why is it 1.%dlf, why is the decimal, long n float used and also from my understanding %% means print the percentage but the % symbol is not displayed in my interface.
I believe what you pasted there will simply generate a format string (btw it is missing an "integer" parameter)
will give you:
I supose this is done so the number of decimals can be dynamically modified (in the example the parameter
5 can be varied). After that string has been created, it is probably used to format the actual string.
which will result in something like:
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)