Returns a string representation of the current elapsed time, choosing an appropriate unit and using the specified number of significant figures. For example, at the instant when elapsedTime(NANOSECONDS) would return {1234567}, toString(4) returns "1.235 ms".
Returns a string representation of the current elapsed time, choosing an appropriate unit and using the specified number of significant figures. For example, at the instant when elapsedTime(NANOSECONDS) would return {1234567}, toString(4) returns "1.235 ms".