loadrunner11对atof()函数也不支持?是bug吗?
安装了lr11版本,参照帮助计划一模一样的使用这个函数,可是还是不对,不应该得出 6495888.00 啊Action()
{
float x;
char *s = "7.2339 by these hilts or I am a villain else";
x = atof(s);
lr_output_message("%.2f", x);
return 0;
}
结果:
Virtual User Script started at : 2012-02-02 16:04:41
Starting action vuser_init.
vuser_init.c(6): lrs_startup(257)
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(10): 6495888.00
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
vuser_end.c(6): lrs_cleanup()
Ending action vuser_end.
Vuser Terminated. 看帮助atof使用时头要写个申明
页:
[1]