floating point data type
floating point data type
I've just noticed the my numeric variables and arrays are defaulted to double type (8 byte floating point data type). Was this always the case, and will it always be? This is important as I've written dll's that rely on the right floating point type variables being passed back and forth.
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
janus,
The explicit use of double will result both TS and MC compatibility.
Probably these studies were developed for TS originally. TS supports int, float and double, while MC supports only double.I saw in some studies the explicit use of double in front of some of the variable names. Don't understand why they bother if all numeric variables are double anyway.
The explicit use of double will result both TS and MC compatibility.