* * *

Author Topic: TextToFloat Bug  (Read 1549 times)

Handoko

  • Hero Member
  • *****
  • Posts: 2166
  • 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

  • New member
  • *
  • Posts: 43
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

  • Sr. Member
  • ****
  • Posts: 451
  • ..... A day not Laughed is a day not Lived !!
    • 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 win, no matter the outcome.

Lazarus 1.8.2 / FPC 3.0.4
Lazarus Trunk / FPC Trunk
Mac OS X El Capitan

Thaddy

  • Hero Member
  • *****
  • Posts: 5800
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!
recommends {$macro on}{$define Silly:=ObjFpc}

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus