Refine comment

This commit is contained in:
Sam Becker 2024-04-12 12:21:14 -05:00
parent ae3770ae30
commit ff2bbc4821

View File

@ -39,7 +39,7 @@ const formatDecimalToFraction = (_decimal: number) => {
const STICKY_THRESHOLD = 0.011;
const STICKY_DECIMALS = [0.25, 0.33, 0.5, 0.66, 0.75];
const MAX_FRACTION_LENGTH = 4; // 1/64 not 1/100
const MAX_FRACTION_LENGTH = 4; // Permit 1/64 but not 1/100
export const formatNumberToFraction = (number: number) => {
const sign = number >= 0 ? '+' : '-';