This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma warning disable CS1591 // XML 注释 | |
using System.Linq; | |
using System.Text; | |
namespace System.Globalization.Chinese { | |
public static class 算数 { | |
public static decimal ToNum<T>(string s) where T : Enum { | |
Type enumType = typeof(T); | |
double numBase = ((int[])Enum.GetValues(enumType)).Distinct().Count(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^ *(\S+) +(Nonp|Paged) +(-?\d+) +\( *(-?\d+)\) +(-?\d+) +\( *(-?\d+)\) +(-?\d+) +(-?\d+) +\( *(-?\d+)\) +(-?\d+) | |
\1\t\2\t\3\t\4\t\5\t\6\t\7\t\8\t\9\t$10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//select the switch on the top-right page to show english first. | |
if(document.querySelector("#language-toggle")!=undefined){ | |
document.querySelectorAll("span[style='display: inline;']").forEach(a=>{a.innerHTML='<sup>'+a.innerHTML+'</sup><br>';}); | |
document.querySelectorAll("span[style='display: none;']").forEach(a=>{a.style='display:inline';a.innerHTML=a.innerHTML+'<br>';}); } |