Menu

#125 Float Numbers

1.0
open
nobody
BUG (19)
2025-04-04
2025-02-13
Anonymous
No

Hello,
I am using the beta version an trying to write float values with precision 1 to an slave running as a windows service. The problem is whatever float value I set in the register box, it is automatically transformed to a number with the format of integer(0-9) E+N. For example, if I put 27.1, it is transformed to 3E+02.
As it is a beta version, maybe the float numbers is not fully working, but if you may share the source code of that version I could probably solve the problem myself.
Thanks

Discussion

  • elbar

    elbar - 2025-02-15

    Hello,
    thanks for writing in. You can download the sources from SourceForge site.
    Regards

     
  • elbar

    elbar - 2025-02-15
    • labels: --> BUG
     
  • Anonymous

    Anonymous - 2025-02-17

    I do apologize, but I cannot find de sources of the Beta version 5.3 . I only see

    qModMaster-code-0.5.2-3.zip
    Thanks

     
  • elbar

    elbar - 2025-02-18

    Hello.

    from the QModMaster page in SourceForge select 'Mercurial > Main' and then 'Download Snapshot'.

    Regards

     
  • Anonymous

    Anonymous - 2025-02-19

    Hi, and many thanks.
    I have solved my problem. If you select float value from the GUI to write float numbers, the spin box placed to the right and labeled precision is not the number of decimals you want to have after the decimal point, but the total number of digits the float number will contain.
    So, if you set 'precision' to 1 an try to write the float '27.1', the float value is rounded to 3E+01.
    To write '27.1', precision must be set to 3.
    Regards

     
  • Anonymous

    Anonymous - 2025-04-04

    Float is not working indeed

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB