Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Other Languages
»
Russian
»
Неверно работает FormatFloat в Astra Linux
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
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
installation warning
by
trev
[
Today
at 12:12:22 am]
Raylib4.0 don't work eith...
by
dsiders
[May 22, 2022, 11:51:22 pm]
Frame reception problem i...
by
avra
[May 22, 2022, 11:32:45 pm]
HTML to text
by
wp
[May 22, 2022, 11:00:03 pm]
Lazarus Release 2.2.2
by
folkeu08
[May 22, 2022, 09:31:08 pm]
Vector graphics floodfill...
by
BobDog
[May 22, 2022, 08:51:45 pm]
Regex conversion escapes
by
AlexTP
[May 22, 2022, 08:19:24 pm]
binding DOM elements in D...
by
nomorelogic
[May 22, 2022, 07:04:18 pm]
sqlite + spellfix
by
Espectr0
[May 22, 2022, 06:23:33 pm]
How do I add a Pascal com...
by
rvk
[May 22, 2022, 05:40:11 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Неверно работает FormatFloat в Astra Linux (Read 3276 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: 1768
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: 1768
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