From the manual:
https://zorro-project.com/manual/en/printf.htm
Quote
For printing float variables with the %f placeholder, typecast them to (var) or (double) (f.i. printf("Profit: %.2f",(var)TradeProfit);). The printf function does not automatically promote float to double.