A Port of IMCalculator from FX-OS for Iphone