Maths

Hi I'd like a

var
####:####;
begin

1.9 div 3.2 calculating


I don't know the var or how to divide. lol
LVL 5
eNarcAsked:
Who is Participating?
 
MerijnBConnect With a Mentor Sr. Software EngineerCommented:
Like this?

var d: double;
begin
 d := 1.9 / 3.2;
end;

Open in new window

0
 
SteveBayConnect With a Mentor Commented:
You beat me to it MerijnB... but I was going to add:

     ShowMessage(FormatFloat('0.0000',d));
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.