calculateAmount(amount) {
    // return Number.parseFloat(Number.parseFloat(amount).toPrecision(BFX_AMOUNT_PRECISION));
    return Number.parseFloat(amount);
  }
https://docs.bitfinex.com/docs#amount-precision
The amount field allows up to 8 decimals. Anything exceeding this will be rounded to the 8th decimal.

@param amount
@returns {*}