Hello, I've got the next problem:
I read double numbers from a file, then format the to scientific notation using the format function in this way:
format(number, mask)
mask is:
"0.00···0" if Len(number) < X
or
"0.00···E00" if Len(number) > X
The thing is, in my computer everything is ok, but in all other computers I try, when Len(number)< X, i.e. mask is "0.00···0", I obtain a different scale for the number,
for example:
In my PC, Format("0.123", "0.000000"
-> 0.123000
In another PC, Format("0.123", "0.000000) -> 1.230000
What is happening? Why Format() behaves different in differetn PC's?
Thamk you.
I read double numbers from a file, then format the to scientific notation using the format function in this way:
format(number, mask)
mask is:
"0.00···0" if Len(number) < X
or
"0.00···E00" if Len(number) > X
The thing is, in my computer everything is ok, but in all other computers I try, when Len(number)< X, i.e. mask is "0.00···0", I obtain a different scale for the number,
for example:
In my PC, Format("0.123", "0.000000"
In another PC, Format("0.123", "0.000000) -> 1.230000
What is happening? Why Format() behaves different in differetn PC's?
Thamk you.