Avoiding scientific notation when casting real numbers ToString

D

Dennis Myrén

Hi.
Is there anyway to ensure that a real number always will be casted to it's
exact string,
and never use a scientific notation?
I always want the format eg:
3.435845793478523458
 
R

Rob Agar

hi Dennis,
Is there anyway to ensure that a real number always will be casted to it's
exact string,
and never use a scientific notation?
I always want the format eg:
3.435845793478523458

look for "Custom Numeric Format Strings" in the help. You'll want a format
string like this: #.#########

Rob
 
D

Dennis Myrén

Thank you for helping out.
Rob Agar said:
hi Dennis,


look for "Custom Numeric Format Strings" in the help. You'll want a format
string like this: #.#########

Rob
 

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

Top