>>>Fabio,
>>>
>>>BINTOC() doesn't work with currency according to the documentation. Why do you expect other results?
>>
>>George,
>>
>>According to VFP9 help, it does: "8 - The range of nExpression depends on its type. Only numeric, float, double, and currency data types are supported with this option". See also Message #
1003225.
>
>Hmmm, while the docs do say that, both BINTOC() and CTOBIN() were orginally designed to work only with 32 bit integers and for indexes.
That's correct but they were extended in VFP9 to 8 bytes and with extra flags.
--sb--