ComponentOne True DBInput Pro 8.0
Price Property (TDBFinancialX)

 

Price Property (TDBFinancialX)

The Price property returns the value calculated by the TaxCalc method based on the underlying value both with positive and negative values.

Syntax

object.Price

Read-only at run time. Not available at design time.

Remarks

When the Value property is set to 0, the Price property will also return a 0. The return value for the Price property should not exceed fifteen digits. The valid ranges are from -999999999999999 to 999999999999999, including both the integer and the decimal places.

The return value for the Price property can differ depending on the TaxType property settings. If TaxType is set to 0-Pre Tax, the Price property is calculated as (Value / (1 + (TaxRate / 100))). However, if set to 1-After Tax, the Price will return the Value property. Note that when the RateType property is set to 0-Normal, the percentage calculation will be omitted.

The final result of the Price property can be rounded accordingly with the RoundType and the RoundDigit properties.

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

See Also

Tax Property (TDBFinancialX)

Total Property (TDBFinancialX)

TaxType Property (TDBFinancialX)

Value Property (TDBFinancialX)

TaxRate Property (TDBFinancialX)

RateType Property (TDBFinancialX)

RoundDigit Property (TDBFinancialX)

RoundType Property (TDBFinancialX)

TaxCalc Method (TDBFinancialX)

 

 


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

Product Support Forum  |  Documentation Feedback