title: Magento Get Order Total In Pence Request
body: <p>I am integrating a custom payment gateway into magento.</p>
  
  <p>I need to send the order total to them in pence, currently it is set to pounds.</p>
  
  <p>My current code is below</p>
  
  <pre><code>&lt;?php
  $_order = new Mage_Sales_Model_Order();
  $orderId = Mage::getSingleton('checkout/session')-&gt;getLastRealOrderId();
  $_order-&gt;loadByIncrementId($orderId);
  ?&gt;
  &lt;form name="mygatewayform" method="get" action="gateway url"&gt;
  &lt;input type="hidden" name="Tariff" value="&lt;?php echo $_order-&gt;getBaseGrandTotal(); ?&gt;"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This adds the total to the 'action' gateway URL as the Tariff but total is in pounds i.e. 1.50 but needs to be in pence 150.</p>