sprintf(str,"12.f","522.5); 结果523 sprintf(str,"12.f","523.5); 结果523 双进单不进,以后四舍五入不用这个函数,老实的+0.5然后取整
转载于:https://www.cnblogs.com/delphi2007/archive/2009/07/15/1523846.html
sprintf(str,"12.f","522.5); 结果523 sprintf(str,"12.f","523.5); 结果523 双进单不进,以后四舍五入不用这个函数,老实的+0.5然后取整
转载于:https://www.cnblogs.com/delphi2007/archive/2009/07/15/1523846.html