Q: double scientific

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
G

Geoff Jones

Hiya

I've just discovered something when writing numbers in scientific notation
in source code. If you write something like

1.83607E-5

Visual Studio changes it to

0.0000183607

Is there a way to stop the Visual Studio environment from doing this?

Thanks

Geoff
 
Geoff Jones said:
I've just discovered something when writing numbers in scientific notation
in source code. If you write something like
1.83607E-5
Visual Studio changes it to
0.0000183607

Is there a way to stop the Visual Studio environment from doing this?

/Only/ by turning off all the other clever formatting stuff that VS does
for you, reducing it to a [pretty chunky] text editor.

Or you could try

Val( "1.83607E-5" )

;-))

Regards,
Phill W.
 
Geoff Jones said:
I've just discovered something when writing numbers in scientific notation
in source code. If you write something like

1.83607E-5

Visual Studio changes it to

0.0000183607

Is there a way to stop the Visual Studio environment from doing this?

This question has been discussed in this group some weeks ago. The answer
is no -- there is no way to turn off this particular formatting feature
without turning off pretty listing.
 
Many thanks guys

Geoff

Herfried K. Wagner said:
This question has been discussed in this group some weeks ago. The answer
is no -- there is no way to turn off this particular formatting feature
without turning off pretty listing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top