Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 00:56:22 +0000



Post From: Offering To The Community: Brett Johnson's Standard Tool Kit

[2020-07-12 22:00:17]
bradh - Posts: 854
If you use the remote compiler, does it work without the (int) cast? I don't think you have to reconfigure your setup to test.

I think they made it a double for fractional quantities, at least on Win64.

All the Quantities are type t_OrderQuantity32_64.

Structures.h has this:

#ifdef _WIN64
typedef double t_OrderQuantity32_64;//TODO: Use this only when change to SCDateTimeUnix
#else/*
#ifdef _DEBUG
typedef double t_OrderQuantity32_64;
#else*/
typedef int t_OrderQuantity32_64;
//#endif
#endif

Look like the key is _WIN64.

Thanks for your reply,
Brad