flat assembler
Message board for the users of flat assembler.
Index
> Windows > [HELP] - sprintf from MSVCRT.DLL not working with floats. |
Author |
|
LocoDelAssembly 15 May 2010, 02:08
That function needs a double instead of simple float. A quick solution is to use win32ax.inc, use "var dq 100.0" and "invoke sprintf,message,fmt, double [var]"
|
|||
15 May 2010, 02:08 |
|
ctl3d32 15 May 2010, 02:21
LocoDelAssembly wrote: That function needs a double instead of simple float. A quick solution is to use win32ax.inc, use "var dq 100.0" and "invoke sprintf,message,fmt, double [var]" Thank you very much! It works perfectly now! |
|||
15 May 2010, 02:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.