FUNCTION DoubleToNum LPARAMETER cDoubleInString DECLARE RtlMoveMemory IN WIN32API AS RtlCopyDbl ; DOUBLE @DestNumeric, ; STRING @pVoidSource, ; INTEGER nLength LOCAL nNum * Note - the limit of decimal precision is established by the decimal precision * of the pre-initialized numeric variable receiving the value nNum = 0.0000000000000000000000000 =RtlCopyDbl(@nNum, cDoubleInString, 8) RETURN nNumI'm not certain if I've posted the latest version of ClsHeap with revised coinversion UDFs or not.