mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-17 05:05:44 +02:00
fase 5
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @name secondsToHours
|
||||
* @category Conversion Helpers
|
||||
* @summary Convert seconds to hours.
|
||||
*
|
||||
* @description
|
||||
* Convert a number of seconds to a full number of hours.
|
||||
*
|
||||
* @param seconds - The number of seconds to be converted
|
||||
*
|
||||
* @returns The number of seconds converted in hours
|
||||
*
|
||||
* @example
|
||||
* // Convert 7200 seconds into hours
|
||||
* const result = secondsToHours(7200)
|
||||
* //=> 2
|
||||
*
|
||||
* @example
|
||||
* // It uses floor rounding:
|
||||
* const result = secondsToHours(7199)
|
||||
* //=> 1
|
||||
*/
|
||||
export declare function secondsToHours(seconds: number): number;
|
||||
Reference in New Issue
Block a user