ROUND ( expression , precision )A non-negative integer expression whose value is the number of places you want in the decimal result of the ROUND function.This procedure increases all CreditLimit values by 10 percent, rounding those values to the nearest $100:
FOR EACH Customer:DISPLAY Customer.CustNum Customer.Name Customer.CreditLimit.Customer.CreditLimit = ROUND((Customer.CreditLimit * 1.1) / 100 ,0) * 100.PAUSE.DISPLAY Customer.CreditLimit.END.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |