Hi How to splite intiger value in bytes ?
B4X:
dim on_time as int
dim on_hr as byte
dim on_min as byte
on_time = 1234 '// 12 Hour and 34 minutes want to Sprite hours and minutes into 2 separate byte on_Hr $ on_min
'// Want result >>
on_hr = 12
on_min = 34