HistoryOrderGetDouble
Returns the requested order property. The order property must be of the double type. There are 2 variants of the function.
1. Immediately returns the property value.
double HistoryOrderGetDouble(
ulong ticket_number,
ENUM_ORDER_PROPERTY_DOUBLE property_id
); |
2. Returns true or false, depending on the success of the function. If successful, the value of the property is placed into a target variable passed by reference by the last parameter.
bool HistoryOrderGetDouble(
ulong ticket_number,
ENUM_ORDER_PROPERTY_DOUBLE property_id,
double& double_var
); |
Parameters
ticket_number
[in] Order ticket.
property_id
[in] Identifier of the order property. The value can be one of the values of the ENUM_ORDER_PROPERTY_DOUBLE enumeration.
double_var
[out] Variable of the double type that accepts the value of the requested property.
Return Value
Note
See also
HistorySelect(), HistoryOrdersTotal(), HistoryOrderSelect(), Order Properties