Jump to content

Artemla

Members
  • Content Count

    1
  • Joined

  • Last visited

About Artemla

  • Rank
    Newbie
  1. Artemla

    gwinPrintg not truncates floats

    Hello. I tried to use gwinPrintg() with format "%.2f" to display float value with 2 digits after point. But float value displays with 5 digits after point, no matter what precision is set in format. I found that precision value in function vfnprintg(), which is used to parse format, is a constant equal to 100000. Changing this constant to 100 gives me precision equal to 2 digits after point. Is it a bug? Or I'm doing something wrong? Thanks.
×