ComponentOne True DBInput Pro 8.0
RoundType Property (TDBFinancialX)

 

Reference> TDBFinancialX Object> TDBFinancialX Object Properties> RoundType Property (TDBFinancialX)

RoundType Property (TDBFinancialX)

The RoundType property allows you to determine how the results will be rounded.

Syntax

object.RoundType= value

Read/Write at run time. Not available at design time.

Values

Description

Run Time

0 - The return values will not be rounded. (Default)

dbiRoundNone

1 - Round. The returned values are rounded according to standard rounding rules.

dbiRound

2 - Round up. Any fractional amounts are rounded up to the next number.

dbiRoundUp

3 - Round down. Any fractional amounts are rounded down to the next number.

dbiRoundDown

Remarks

The exact digit to round can be specified using the RoundDigit property. If either the RoundType or the RoundDigit property is set to 0, the rounding will be ignored and not be processed. The results can be retrieved from the Price, Tax, Total properties after executing the TaxCalc method.

The rounding will be processed with the final results after all calculations are done.

See Also

RoundDigit Property (TDBFinancialX)

Value Property (TDBFinancialX)

Price Property (TDBFinancialX)

Tax Property (TDBFinancialX)

Total Property (TDBFinancialX)

TaxCalc Method (TDBFinancialX)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback