My variable ‘hr’ has value “2.654646”, but I want to display only “2” on my scene. How is it possible?
Tested on web platform:
round(2.654646) = 3
int(2.654646) = 3
trunc(2.654646) = 2
My variable ‘hr’ has value “2.654646”, but I want to display only “2” on my scene. How is it possible?
Tested on web platform:
round(2.654646) = 3
int(2.654646) = 3
trunc(2.654646) = 2