function nanoRemainder(msFloat) {
				const modulo = 1e6;
				const remainder = (msFloat * 1e6) % modulo;
				const positiveRemainder =
					remainder < 0 ? remainder + modulo : remainder;

				return Math.floor(positiveRemainder);
			}
Get the decimal part of the millisecond value as nanoseconds

@param {number} msFloat the number of milliseconds
@returns {number} an integer number of nanoseconds in the range [0,1e6)

Example: nanoRemainer(123.456789) -> 456789