Recent

Author Topic: TextToFloat Bug  (Read 5430 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: TextToFloat Bug
« Reply #15 on: January 14, 2018, 02:34:48 pm »
Maybe the behavior is correct for older version of FPC (as mentioned by Lutz Mändle on post #9). But it is clear that the documentation is now no longer correct for FPC 3.0.4. So I submitted a bug report:

https://bugs.freepascal.org/view.php?id=33023

Lutz Mändle

  • Jr. Member
  • **
  • Posts: 65
Re: TextToFloat Bug
« Reply #16 on: January 14, 2018, 02:43:22 pm »
That's the right behaviour according to the actual implementation, but you are right the documentation is at least misleading and in my opinion wrong.

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: TextToFloat Bug
« Reply #17 on: January 14, 2018, 08:41:20 pm »
It's a matter of i say Tomato, you say tomata 8-)
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

Thaddy

  • Hero Member
  • *****
  • Posts: 14165
  • Probably until I exterminate Putin.
Re: TextToFloat Bug
« Reply #18 on: January 16, 2018, 11:58:57 am »
No. It is fixed in the docs. As I said.
Thank you Michael!
Specialize a type, not a var.

 

TinyPortal © 2005-2018