Invoice Template - Reduce Unit Price decimals

Hello,

I am trying to reduce the number of decimal places shown in the Unit Price field on my invoice template generated in Crystal Reports (a custom made OEINV.rpt)

The field is currently showing six decimal places on items related to labour (i.e 1.000000). On everything else, it just shows two decimals.

In the I/C Setup Options in Sage 300 ERP, the option 'Allow Fractional Quantities' is checked.

When I open the invoice template in Crystal Reports and select edit formula in the Unit Price field, the following formula is present:

IF {OEINPR3.LINETYPE} = 1 THEN
    IF {OEINPR3.PRPRICEBY} = 1 AND
        {OEINPR3.INVDISC} = 0 THEN
        // Price by Quantity and No Detail Discount
        // Print the Unit Price
        TOTEXT({OEINPR3.UNITPRICE}, {OEINPR3.UNITPRCDEC})
    ELSE
        IF {OEINPR3.QTYSHIPPED} <> 0 THEN
            ToText((({OEINPR3.EXTINVMISC} - {OEINPR3.INVDISC}) /
                     {OEINPR3.QTYSHIPPED}), {OEINPR3.UNITPRCDEC})
        ELSE
            ""
ELSE
    ""

How do I edit this formula to reduce the number of decimal points presented on the invoice to 2 for all items?