title: Is there a literal notation for decimal in IronPython?
body: <p>suppose I have the following IronPython script:</p>
  
  <pre><code>def Calculate(input):
      return input * 1.21
  </code></pre>
  
  <p>When called from C# with a decimal, this function returns a double:</p>
  
  <pre><code>var python = Python.CreateRuntime();
  dynamic engine = python.UseFile("mypythonscript.py")
  
  decimal input = 100m; // input is of type Decimal
  // next line throws RuntimeBinderException: 
  //     "cannot implicitly convert double to decimal"
  decimal result = engine.Calculate(input); 
  </code></pre>
  
  <p>I seem to have two options:</p>
  
  <p>First, I could cast at the C# side: seems like a no-go as I might loose precision.</p>
  
  <pre><code>decimal result = (decimal)engine.Calculate(input); 
  </code></pre>
  
  <p>Second option is to use System.Decimal in the python script: works, but pollutes the script somewhat...</p>
  
  <pre><code>from System import *
  
  def CalculateVAT(amount):
      return amount * Decimal(1.21)
  </code></pre>
  
  <p>Is there a short-hand notation DLR that the number 1.21 should be interpreted as a Decimal, much like I would use the '1.21m' notation in C#? Or is there any other way to enforce decimal to be used instead of double?</p>