Menu

#45 Floating point problems on machines with comma as decimal se

v5.3
open
nobody
ALL (19)
7
2005-05-07
2005-05-07
No

On machines which have comma as decimal separator,
like("5,3" instead of "5.3" (most of non-english
speaking countries), there are a few, but important
problems:

- Bar function treats the output of another function as
two digits, i.e. "$Bar($NetSpDownK(2),20,10) " reports
"too many parameters"

- SETI functions report that "1.111" is not a valid
floating point value"

I don't really remember how Delphi deals with floats,
but that looks like a conversion problem. Knowing
Delphi and its great capabilities, the workaround must
be pretty simple... I hope.

Discussion

  • Michal Leon Borsuk

    Logged In: YES
    user_id=258108

    '- SETI functions report that "1.111" is not a valid
    floating point value ' - I already corrected the bug, was
    trivial. Will be sending the admins for review soon.

     
  • Michal Leon Borsuk

    • priority: 5 --> 7
     

Log in to post a comment.