Sfairadora

  • Reference Guide

hr

x hr
hr(t)
The first variant creates a value of the type Time based on the number of hours specified by the parameter x. The parameter x can be of the type Int or Real.
The latter variant returns the time specified by the t parameter of the type Time expressed as a number of hours (the type Real).