import type { RoundingMode } from '../types' ; import { isHalf } from '../utils' ; param value returns export const halfDown = ( value ) => { return isHalf ( value ) ? Math . floor ( value ) : Math . round ( value ) ; } ;