Created
July 8, 2011 20:44
Revisions
-
jediwhale revised this gist
Jul 8, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,4 @@ public PiSymbolType () { public String toTarget(Translator translator, Symbol symbol) { return Double.toString(Math.PI); } } -
jediwhale created this gist
Jul 8, 2011 .There are no files selected for viewing
This file contains 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ public class PiSymbolType extends SymbolType implements Translation { public PiSymbolType () { super("Pi"); wikiMatcher(new Matcher().string("!pi")); htmlTranslation(this); } public String toTarget(Translator translator, Symbol symbol) { return Double.toString(Math.PI); } }