Topic: Perfom calculations between to text fields
Hi everybody
I'm very new with Delphi language so I will need all the help I can get in order to keep using "MyVisualDatabase"
I came from XOJO and there are a few difference between those languages;
if I want to perform a calculation between text fields in xojo the code is looking like this
dim number_1 as double = val(textfield_1.text)
dim number_2 as double = val(textfield_2.text)
dim total as double
dim result as string = textfiled_3.text
total = number_1 + number_2
result = format(total,"0.0")
So my question is; how I can achieve the same with Delphi?
Many thanks for any suggestion
Sincerely