NormalizeAngle.java 355B

1234567891011121314151617181920
  1. public class NormalizeAngle {
  2. public Integer normalizeValueUsingModulo(Integer angle){
  3. int normal = (angle%360);
  4. return normal;
  5. }
  6. public Integer normalizeValueUsingFloorMod(Integer integer){
  7. int normal = Math.floorMod(integer,360);
  8. return normal;
  9. }
  10. public static void main(String[] args){
  11. }
  12. }