Hi,
is there anything like unsigned, e.g. unsigned int?
…
or how to treat numbers which would after conversion long -> int normally fall into minus??
Is there anything like cast e.g.
int COG = (int) location.getBearing();
Rgds
hk
              
              
              1 Like
            
            
          Outta the 8 Java primitives, only char is unsigned, although 16-bit only: 
But Java offers unsigned static methods within its primitive wrapper classes: 
              
              
              1 Like