Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Other Languages
»
Russian
»
Неверно работает FormatFloat в Astra Linux
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Better Vectorcall Support
by
Madoc
[
Today
at 02:09:07 pm]
Help with barcode scannin...
by
kwyan
[
Today
at 02:03:44 pm]
[SOLVED]Bash commands and...
by
johnathan
[
Today
at 01:17:57 pm]
Best practices to use tRt...
by
Mr.Madguy
[
Today
at 12:48:45 pm]
ImGui FreePascal Binding ...
by
Coldzer0
[
Today
at 12:44:00 pm]
Windows API and wide/unic...
by
Thaddy
[
Today
at 12:26:30 pm]
Sleep forever
by
jollytall
[
Today
at 11:16:16 am]
LazReport designer math f...
by
nouzi
[
Today
at 10:26:26 am]
[SOLVED] Lazarus 3.0 on l...
by
Codrut1001
[
Today
at 10:25:08 am]
[SOLVED] Simple (I hope) ...
by
dbannon
[
Today
at 10:20:49 am]
Huge problem with open fi...
by
MarkMLl
[
Today
at 08:24:33 am]
BGRA Controls
by
paweld
[
Today
at 07:53:16 am]
What is the meaning of TF...
by
kwyan
[
Today
at 07:04:14 am]
Un-register an LCL Compon...
by
dbannon
[
Today
at 04:58:57 am]
[SOLVED] TPanel slider po...
by
Handoko
[
Today
at 04:07:12 am]
how to change color of a ...
by
Handoko
[
Today
at 03:26:35 am]
Date-Stamp DBDateEdit
by
Handoko
[
Today
at 03:16:12 am]
Chinese input in edit and...
by
myisjwj
[
Today
at 03:13:57 am]
Any library to generate a...
by
Martin_fr
[
Today
at 01:29:56 am]
Absolute positioning of c...
by
dseligo
[
Today
at 01:06:11 am]
Online Package Manager
by
lainz
[November 29, 2023, 10:34:18 pm]
BGRA Controls Install Lat...
by
andrew Bubble
[November 29, 2023, 08:43:54 pm]
Can't build a project gro...
by
MarkMLl
[November 29, 2023, 05:22:14 pm]
TFileStream.ReadAnsiStrin...
by
simone
[November 29, 2023, 05:16:57 pm]
Why cannot this be inline...
by
Stefan Glienke
[November 29, 2023, 05:05:12 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Неверно работает FormatFloat в Astra Linux (Read 4052 times)
Ivandur
Newbie
Posts: 1
Неверно работает FormatFloat в Astra Linux
«
on:
June 10, 2021, 05:47:47 pm »
Когда выполняется FormatFloat('0.00000e+00',AllData.times[0,i],fs), в случае с отрицательным значением порядка вместо нуля выдаётся минус. Например: 2.4345374e--1.
В Lazarus для Windows такого не наблюдается.
Logged
AlexTP
Hero Member
Posts: 2287
Re: Неверно работает FormatFloat в Astra Linux
«
Reply #1 on:
June 10, 2021, 08:00:04 pm »
Нет повтора на Линуксе
Lazarus 2.1.0 r65188 FPC 3.2.1 x86_64-linux-gtk2
Caption:= FormatFloat('0.00000e+00', 2.4345374e-1);
показывает нормальный ответ.
Logged
CudaText editor
-
ATSynEdit
-
More from me
AlexTP
Hero Member
Posts: 2287
Re: Неверно работает FormatFloat в Astra Linux
«
Reply #2 on:
June 10, 2021, 08:01:29 pm »
Укажете версию FPC, это она влияет а не Лазарус.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Other Languages
»
Russian
»
Неверно работает FormatFloat в Astra Linux
TinyPortal
© 2005-2018