On Wed, Oct 24, 2012 at 1:11 PM, bobkarh <
address@hidden> wrote:
> I am trying to convert a big number like :
>
> 12345678901234567890
>
> into a string by using:
>
> num2str(12345678901234567890)
>
> but the result is:
>
> ans = "1.2346e+019"
>
> That answer "ans" is a STRING with size :
> size [1 , 11]
> (one row, eleven columns)...and for example: value at column number two is
> "."
>
> SO I'VE LOST MY NUMBER!!!
> AND I DON'T WANT THIS!!!!!
>
> I want the original number to be a string
> ans= "12345678901234567890"
>
> I have tried to change format, using the function "format"
> but it doesn't work... I have also tried to change the built in variable:
> "fixed_point_format ()"
> but that doesn't work either....
>
> IS THERE A WAY TO CONVERT A LARGE NUMBER TO A LARGE STRING?????
>
>
>
>
>
> --
> View this message in context:
http://octave.1599824.n4.nabble.com/Disable-Scientific-Notation-when-using-num2str-function-tp4645685.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
>
address@hidden
>
https://mailman.cae.wisc.edu/listinfo/help-octave