Recent

Author Topic: FormatFloat problem  (Read 184 times)

marcio2003

  • Jr. Member
  • **
  • Posts: 50
FormatFloat problem
« on: October 31, 2020, 07:21:16 am »
Hi,

I'm using Lazarus_2_0_10 (Win10) and it is happening:

FormatFloat( '0.00000e+0', myFloat ) -> 5.06250e---4

Please see attached image for detail
 
Old version (Win10) run fine.

Thanks for some help
« Last Edit: October 31, 2020, 07:23:00 am by marcio2003 »
Lazarus 2.0.10 Windows 10 64bits

bytebites

  • Sr. Member
  • ****
  • Posts: 345
Re: FormatFloat problem
« Reply #1 on: October 31, 2020, 10:29:18 am »
Known bug, fixed (hopefully) in development version.

wp

  • Hero Member
  • *****
  • Posts: 7737
Re: FormatFloat problem
« Reply #2 on: October 31, 2020, 10:34:25 am »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

 

TinyPortal © 2005-2018