@welldot/utils

normalizeDailyOperatingTime

Reads a dailyoperatingtime for a derivation: hours above 24 count as 24 (.well v2.4). The stored value is never rewritten.

normalizeDailyOperatingTime(hours): number

Reads a daily_operating_time for a derivation: hours above 24 count as 24 (.well v2.4). The stored value is never rewritten.

Parameters

hours

number

Returns

number