Description
Converts a number to a period string.
Example
toperiod(1000, 's')
Result: 16m 40s 0ms
Syntax
toperiod(number, numbertype)
Parameters
Type | Description |
---|---|
Number | The number to convert |
Numbertype | How to enterprit the number (ms=milliseconds, s=seconds, m=minutes, h=hours, d=days) |
Post your comment on this topic.