diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-01-05 15:06:55 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-01-05 15:06:55 +0000 |
| commit | 7d901eacbe756eb6108c253245a65b7bcaa62b0e (patch) | |
| tree | 7a6adb2fb0b25cd34aa4e58c34e6a66728cbecf6 /ext/fbsql | |
| parent | 56a147fbff3360aa792630e831b6892875a2334b (diff) | |
| download | php-git-7d901eacbe756eb6108c253245a65b7bcaa62b0e.tar.gz | |
%f -> %F
Diffstat (limited to 'ext/fbsql')
| -rw-r--r-- | ext/fbsql/php_fbsql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index d980e64a34..27f11589ba 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -2893,7 +2893,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng { double v = *((double*)data); char b[128]; - snprintf(b, sizeof(b), "%f", v); + snprintf(b, sizeof(b), "%F", v); phpfbestrdup(b, length, value); } break; @@ -2905,7 +2905,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng unsigned scale = fbcdmdScale(dtmd); double v = *((double*)data); char b[128]; - snprintf(b, sizeof(b), "%.*f", scale, v); + snprintf(b, sizeof(b), "%.*F", scale, v); phpfbestrdup(b, length, value); } break; @@ -3021,7 +3021,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng { char b[128]; double seconds = *((double*)data); - snprintf(b, sizeof(b), "%f", seconds); + snprintf(b, sizeof(b), "%F", seconds); phpfbestrdup(b, length, value); } break; |
