From 7ce8849e81968471b1faceb3400097b52212450e Mon Sep 17 00:00:00 2001 From: justuser-31 Date: Thu, 11 Jun 2026 13:18:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B8=D0=BF=D0=B0=20double?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/string.h b/libs/string.h index c6b4779..343c951 100644 --- a/libs/string.h +++ b/libs/string.h @@ -48,7 +48,7 @@ char* float2Str(float* num) { } char* double2Str(double* num) { char* buffer = malloc(311); - sprintf(buffer, "%f", *num); + sprintf(buffer, "%lf", *num); return buffer; } // -------------- END ------------------