EOS.IO C语言API手册

printsf

打印输出单精度浮点数,例如float类型的数。

参数

要输出的浮点数。

示例代码

float value = 5.0 / 10.0;
printsf(value); // Output: 0.5