Skip to content

slot_float

  • Parse the STI_AMOUNT in the specified slot and return it as an XFL enclosed number
int64_t slot_float (
uint32_t slot_no
);
int64_t xfl =
slot_float(amt_slot);
NameTypeDescription
slot_nouint32_tThe slot number
TypeDescription
int64_t

The XFL enclosing number

If negative, an error:
DOESNT_EXIST
- the specified slot does not contain any object or it is an invalid slot

NOT_AN_AMOUNT
- the specified slot does not contain an STI_AMOUNT object