FMTBcd.BcdDivide

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From FMTBcd.pas

	procedure BcdDivide(Dividend: string; Divisor: string; var bcdOut: TBcd); overload;
 
	procedure BcdDivide(const Dividend: TBcd; const Divisor: TBcd; var bcdOut: TBcd); overload;
 
	procedure BcdDivide(const Dividend: TBcd; const Divisor: Double; var bcdOut: TBcd); overload;
 
	procedure BcdDivide(const Dividend: TBcd; const Divisor: string; var bcdOut: TBcd); overload;


Unit: FMTBcd

Type: procedure

Visibility: public

C++ Information

From FMTBcd.hpp

	void __fastcall BcdDivide(System::UnicodeString Dividend, System::UnicodeString Divisor, Fmtbcd::TBcd & bcdOut);


Unit: FMTBcd

Type: function

Description

Divides one BCD value by another.


BcdDivide divides Dividend by Divisor and returns the result as bcdOut.

The return value is given a precision and number of decimal places that is sufficient to accurately represent the result of the division, if possible. (The number of decimal places in the result, however, will never exceed 10.) You can convert this to a specific precision and number of decimal places using the NormalizeBcd procedure.

See Also

Personal tools
Translations
Newest Version