chiark / gitweb /
document the currency command
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Mon, 1 Aug 2011 11:33:21 +0000 (12:33 +0100)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Mon, 1 Aug 2011 11:33:21 +0000 (12:33 +0100)
servus.html

index 89606a2aef5ccee59c5df2ec1a59cc084a8bad35..41c76f537e508e208c9d5b48fb47f940a433a619 100644 (file)
@@ -38,6 +38,7 @@ class="code">~command</span>. Alternatively, you may pass commands by
 <h2>Commands</h2>
 
 <ul>
 <h2>Commands</h2>
 
 <ul>
+<li><a href="#currency">currency</a></li>
 <li><a href="#define">define</a></li>
 <li><a href="#die">die</a></li>
 <li><a href="#do">do</a></li>
 <li><a href="#define">define</a></li>
 <li><a href="#die">die</a></li>
 <li><a href="#do">do</a></li>
@@ -66,6 +67,15 @@ class="code">~command</span>. Alternatively, you may pass commands by
 
 <hr />
 
 
 <hr />
 
+<h3><a name="currency">currency</a></h3>
+<p>The syntax is:<br />
+<span class="code">currency curr1 as curr2</span><br />
+This will give the first currency in terms of the second
+      currency. Currencies must be specified using their standard <a
+       href="http://en.wikipedia.org/wiki/ISO_4217">currency
+       code</a>. The currency conversion is performed using xe.com's
+      currency converter.</p>
+
 <h3><a name="define">define</a></h3>
 <p>This command no longer works, as google have broken 'define'-style
       searches; it will return an error message if invoked.</p> 
 <h3><a name="define">define</a></h3>
 <p>This command no longer works, as google have broken 'define'-style
       searches; it will return an error message if invoked.</p>