摘要: 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 阅读全文
posted @ 2022-11-10 16:17 曦花 阅读(17) 评论(0) 推荐(0) 编辑
摘要: //浮点数精确到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) 阅读全文
posted @ 2022-11-10 09:22 曦花 阅读(36) 评论(0) 推荐(0) 编辑