NxPrice Usage.
The struct NxPrice is a member of multiple structures in NxCoreAPI.
Read more about NxCore pricing concepts.
NxPrice
NxPrice is defined in NxCoreAPI.h as:
NxPrice members
Price represents the price as an adjusted integer value. To convert the NxPrice object into a double, use PriceToDouble
PriceType is a number between 0 and 39 which indicates how to convert between an implied decimal number and a floating point number. PriceTypes are arranged in 2 groups, one for base 10 (PriceType 0-19) and one for base 2 (PriceType 20-39). The table below shows the multiplication factor for each PriceType which will convert a integer price to a floating point number.