Permalink
Browse files

Fix mapscript saving of numbers in exp format (#5014)

  • Loading branch information...
1 parent 4f7d463 commit ed7d3f63cbed417281864fff66fb568501dd57ac @tbonfort tbonfort committed Feb 23, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapfile.c
View
@@ -541,7 +541,7 @@ static void writeNumber(FILE *stream, int indent, const char *name, double defau
{
if(number == defaultNumber) return; /* don't output default */
writeIndent(stream, ++indent);
- msIO_fprintf(stream, "%s %g\n", name, number);
+ msIO_fprintf(stream, "%s %.15g\n", name, number);
}
static void writeCharacter(FILE *stream, int indent, const char *name, const char defaultCharacter, char character)

0 comments on commit ed7d3f6

Please sign in to comment.