Decimal handling shouldn&#x27;t be too difficult. Use an integer of the appropriate size for storage and scale by 10^n where n is the number of decimal places. E.g. (my COBOL is a little rusty)<p><pre><code>  price PIC 999V99
  ...
  move 3.14 to price
</code></pre>
would result in the WebAssembly equivalent of<p><pre><code>  price = 314
</code></pre>
In other words: Use fixed-point arithmetic, but with base-10 instead of base-2.