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
An ASCII logo for Pascal ...
by
Roland57
[
Today
at 06:54:35 am]
IBX - IBDataSet - table w...
by
egsuh
[
Today
at 06:41:26 am]
WebLaz corrections
by
edgarrod71
[
Today
at 05:17:29 am]
How to display barcode co...
by
Jonvy
[
Today
at 05:02:43 am]
Grid of images from datas...
by
runs
[
Today
at 01:31:06 am]
Modern UI in Lazarus
by
azismcgr
[
Today
at 01:27:34 am]
Cannot read excel 2 file
by
wp
[
Today
at 01:02:21 am]
Desactivar mensaje en err...
by
daragor
[
Today
at 12:43:18 am]
CheckComboBox Item Width
by
Joanna
[March 23, 2023, 10:52:23 pm]
Are Tstreams always bette...
by
Warfley
[March 23, 2023, 10:31:54 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Неверно работает FormatFloat в Astra Linux (Read 3494 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: 2045
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: 2045
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