> I have to work with large numbers (more the 10^15), and for that > reason I need to use the long double data type which supports 10^19. > The problem is I that I receive theese values in variant variables, I > need to precess them, and then save them back into varinats. I didn't > find any way to convert from Variant -> long double -> Variant. > Is there any way ?
There is a "decimal" type for VARIANTs IIRC. I've never used them myself, but IIRC they were high-precision floating point numbers. Use VarDec*( ) series of functions to manipulate them. Note that decimal does not correcpond to any built-in C++ data type. ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [email protected] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] You had not yet sought yourselves: then you found me. So do all believers; thus all belief matters so little. -Thus Spoke Zarathustra, F. W. Nietzsche _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
