Exponent values

2 views (last 30 days)
developer
developer on 19 Jul 2011
Hello, I have an exponent value ,2710,16113977021 but in matlab i am seeing it as 2.7102e+003
how can i see the actual value 2710,16113977021
thanks

Answers (2)

Jan
Jan on 19 Jul 2011
Or:
v = 2710.16113977021;
sprintf('%.16g', v);
Note the dot instead of the comma.

Walter Roberson
Walter Roberson on 19 Jul 2011
format long g

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!