How to handle Fraction Price

Hi Support,

Could you advise on the following Fraction Price.

FieldEntry [90] YRHIGH 118 40/256
FieldEntry [91] YRLOW -46/256

FOR YRHIGH=118.15625
FOR YRLOW=???

Just in case
RIC = 912810FT0=RRPS


Best Regards,
Nigil Chua

Best Answer

  • warat.boonyanit
    Answer ✓

    Hi @nigilchua

    Which API are you using?

    For TREP API, e.g. RFA C++, you could simply call the get method (getDouble or getFloat) of the DataBuffer object to get the value as a decimal.