Update of conversion routine

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>