标签:alt com str using iostream std bsp nbsp 分享
#include <iostream>
using namespace std;
int main(){
int x=8999;
int value=x*1000/1000;
cout<<"value="<<value<<endl;
}
#include <iostream>
using namespace std;
int main(){
int x=8999;
int value=x/1000*1000;
cout<<"value="<<value<<endl;
}
#include <iostream>
using namespace std;
int main(){
int x=8999;
int value=x/1000.0*1000;
cout<<"value="<<value<<endl;
}
标签:alt com str using iostream std bsp nbsp 分享
原文地址:http://www.cnblogs.com/928990166li/p/7593585.html