您好,欢迎访问一九零五行业门户网

CSS 文本上下标_html/css_WEB-ITnose

public string gethtml(object obj) { string result = ; system.text.regularexpressions.regex regex = new system.text.regularexpressions.regex({.*,.*,.*}); string matchresult = regex.match(obj.tostring()).tostring(); if (string.isnullorempty(matchresult)) { result = obj.tostring(); } else { string[] strs = matchresult.replace({, ).replace(}, ).split(','); result = ; result += + strs[0] + ; result += + strs[1] +
; result += + strs[2] +
; } return result; }
以上代码主要是为了获取3个值,  strs[0]=759   strs[1]=+0.6   strs[0]=-0.4  这样用来显示上下
其它类似信息

推荐信息