How can I execute the calculator with source code?

Written by Francisco R.

With the last version of JfControls the calculator should be executed as follows:

procedure Calculator;
var
    ANumber: Extended;
begin
    ANumber := 1000;
    JfCApp.Calculator(2,ANumber);
end;

With older versions, you will need to do the following:

procedure Calculator;
var
    ANumber: Double;
begin
    ANumber := 1000;
    JfCApp.Calculator(2,ANumber);
end;

where 2 is the number of decimals.

You may also like…

JfControls 21.07.09 released

JfControls 21.07.09 released

Today we are excited to introduce the new version of JfControls 21.07.09 compatible with RADStudio 10.4. Improvements ... ⦁ Improvements in compatibility with Delphi 10.3.3 and CBuilder 10.3.3 (32Bit & 64Bit). ⦁ Compatibility with Delphi 10.4 and CBuilder 10.4...

RAD Studio 10.4 is Here

RAD Studio 10.4 is Here

RAD Studio 10.4 Radically Improves Native Windows Development We are pleased to announce the General Availability of RAD Studio 10.4. Version 10.4 brings significant improvements for Windows 10 VCL (Visual Component Library) desktop development, Delphi multi-device...

0 Comments

Submit a Comment