param ms export function convertMicrosecondsToMS ( ms ) { ms = typeof ms === 'string' ? parseInt ( ms , 10 ) : ms ; return Math . floor ( ms * 100 ) / 100000 ; } param ms export function convertMSToMicroseconds ( ms ) { ms = typeof ms === 'string' ? parseInt ( ms , 10 ) : ms ; return Math . floor ( ms * 1000 ) ; } param n export function toNearestHundreth ( n ) { return Math . round ( n * 100 ) / 100 ; } param ms export function roundFloatAndConvertMicrosecondsToMS ( ms ) { ms = typeof ms === 'string' ? parseInt ( ms , 10 ) : ms ; ms = Math . floor ( ms * 100 ) / 100000 ; return Math . round ( ms ) ; }