Page 1 of 1

Posted: Tue Apr 15, 2003 5:15 pm
by BackupUser
Restored from previous forum. Originally posted by julianbury.

I need to make an array of high precision values like "long double" in C/C++

And I am having a problem translating text like "12.099754" into a real value ...

Code: Select all

Dim real(256)

real(1)=Val("12.099754")
This only returns the value 12

Any knowledge on this?




Julian ^00^

Posted: Tue Apr 15, 2003 5:58 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.

Maybe use ValF()?

Posted: Tue Apr 15, 2003 6:11 pm
by BackupUser
Restored from previous forum. Originally posted by Num3.


Try VALF("12.099754")

--
Kind Regards
Rui Carvalho

Old programmers never die... They branch into a subroutine...

Posted: Tue Apr 15, 2003 6:32 pm
by BackupUser
Restored from previous forum. Originally posted by julianbury.

Gee, thanks guys :)


Julian ^00^