tufanv Expert Licensed User Longtime User Nov 13, 2013 #1 Hello it is a simple code but cant worki it out. I have a label.text = 160 . I want to express this as 2 Hours 40 minutes. Can you help. TY
Hello it is a simple code but cant worki it out. I have a label.text = 160 . I want to express this as 2 Hours 40 minutes. Can you help. TY
klaus Expert Licensed User Longtime User Nov 13, 2013 #2 B4X: Val = 160 Hours = Floor(Val / 60) Minutes = Val Mod 60 Upvote 0