I'm porting some Objective C (a language I have never used...) over to a C# project and have come into the following line:
altStr = [NSString stringWithFormat:@"<altitude>%.16f</altitude>", alt]; //alt === double
In C# I'm pretty sure this translates to:
altStr = string.Format("<altitude>{0}</altitude>", alt); //alt === double
However, I can't find anywhere what %.16f
specifically means. I know that f
means it's a double, but what about the .16
part? Something to do with number of decimal places?