Hello,
after one delphi session every one of my single floats has been saving into a wordpad as this weird 2.73500000000000E+0003
2.00000000000000E+0002 notation, same goes with printing is there any way to reverse this ?

not sure wither this applies to Delphi or not , but in pascal we usually use this command to print the float in normal notation
write(y:x:z);
where y represents the float
x represents the number of digits for integer part of the float
z represents the number of digits for fractional part of the float
example
write(y:6:2);
the output will look like this : 65.22
I don't know how to write the float to a text file with the normal notation

In Delphi, you can almost transform any data type to string through some built-in functions. For float variables, there is FloatToStr, FloatToStrF. In your case, I think the second one fits better.

function FloatToStrF(Value: Extended; Format : TFloatFormat; Precision, Digits : Integer) : String; - for more info, check Delphi's help

Example

procedure SomeProc;
var sTemp : String;
aValueToPrint : Float;
begin
aValueToPrint := 23.32543123;
sTemp := StrToFloatF(aValueToPrint, , ffGeneral, 15, 2); //the output is 23.33
end;

Hello,
after one delphi session every one of my single floats has been saving into a wordpad as this weird 2.73500000000000E+0003
2.00000000000000E+0002 notation, same goes with printing is there any way to reverse this ?

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.

This is the result of previous question answered :

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...