import { formatUsdValue } from '../utils' const DayHighLow = ({ high, low, latest }) => { let rangePercent = 0 if (high?.baseOraclePrice) { rangePercent = ((parseFloat(latest?.baseOraclePrice) - parseFloat(low?.baseOraclePrice)) * 100) / (parseFloat(high?.baseOraclePrice) - parseFloat(low?.baseOraclePrice)) } return (