Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Float Floating Point Decimal VT_DECIMAL Compare Calculate
The VT_DECIMAL variants representation is dictated by MSFT's COM implementation and is NOT internally the same as a floating point number's representation. VT_DECIMAL values have a much different range, precision, and representational error possibility. Because of this, there's no way to convert a VT_DECIMAL to a floating point number and guarantee the validity so WinBatch doesn't automatically convert a VT_DECIMAL to a number unless you force the issue. In fact, WinBatch treats VT_DECIMALs as strings unless forced to do otherwise.
Article ID: W18026
Filename: VT_DECIMAL Versus FLOAT .txt
File Created: 2010:12:03:14:05:30
Last Updated: 2010:12:03:14:05:30