1 Star 0 Fork 32

zhao_jd/CM-Server

forked from 留天下/CM-Server 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
tool.cpp 364 Bytes
Copy Edit Raw Blame History
留天下 authored 2019-02-22 13:22 . net redo done!
#include"tool.h"
std::string numberToString(float number)
{
std::string res;
std::stringstream ss;
ss << number;
ss >> res;
return res;
}
bool isNum(const std::string & number)
{
std::stringstream sin(number);
double d;
char c;
if (!(sin >> d))
return false;
if (sin >> c)
return false;
return true;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zhao_jd/CM-Server.git
git@gitee.com:zhao_jd/CM-Server.git
zhao_jd
CM-Server
CM-Server
master

Search