export const round = number => {
const getFloat = number.toString().split(".");
if (getFloat.length === 1) {
return number;
}
const floatLength = getFloat[1].length;
if (floatLength > 6) {
return Math.round(number.toFixed(2) * 100) / 100;
}
return number;
};