摘要: 看到同事写的前端代码判断undefind: 发现判断不出来,最后查了下资料要用typeof方法:if (typeof(reValue) == "undefined") { alert("undefined");} typeof 返回的是字符串,有六种可能:"number"、"string"、"boo 阅读全文
posted @ 2021-12-17 14:27 晨光静默 阅读(216) 评论(0) 推荐(0) 编辑
摘要: mfc版本的非标准元金额转换成标准元格式金额 CString formatYuan(const char* yuanAmount) { CString fmtAmt = yuanAmount; fmtAmt.TrimRight(); fmtAmt.TrimLeft(); int strLen = f 阅读全文
posted @ 2021-12-17 13:41 晨光静默 阅读(73) 评论(0) 推荐(0) 编辑