摘要:
int count = bVal["BOX"].size(); if (bVal["BOX"].isArray()) { board->m_box = CBox(bVal["BOX"][0].asFloat(), bVal["BOX"][1].asFloat(), bVal["BOX"][2].as 阅读全文
摘要:
//浮点数精确到2位 FLOAT width = 2.563; width = int(width*100+0.5)/100.0f; //浮点数精确到2位 FLOAT width = 2.5654; CString strItem=L""; strItem.Format(L"%.2f",width) 阅读全文