how to calculate quantity for post order Feature

I have 100 USDT and I want to place a buy order:
quantity= balance/price
I always get: Precision is over the maximum defined for this asset

You have to check the exchangeInfo endpoint (Binance API Documentation) → PRICE_FILTER → tickSize and ensure that you follow the precision.