摘要:
看到同事写的前端代码判断undefind: 发现判断不出来,最后查了下资料要用typeof方法:if (typeof(reValue) == "undefined") { alert("undefined");} typeof 返回的是字符串,有六种可能:"number"、"string"、"boo 阅读全文
摘要:
mfc版本的非标准元金额转换成标准元格式金额 CString formatYuan(const char* yuanAmount) { CString fmtAmt = yuanAmount; fmtAmt.TrimRight(); fmtAmt.TrimLeft(); int strLen = f 阅读全文